diff --git a/components/noticePopup.vue b/components/noticePopup.vue
index 8bcea8a..49884e5 100644
--- a/components/noticePopup.vue
+++ b/components/noticePopup.vue
@@ -58,7 +58,7 @@ export default {
.then(res => {
if (res.code == '200') {
let list = JSON.parse(localStorage.getItem('menuList'))
- let arr = res.data[0].publishLocation.split(',')
+ let arr = res.data[0]?.publishLocation.split(',') || []
arr.forEach(items => {
if (items == this.publishLocationIndex) {
this.noticeFlag = true
diff --git a/main.js b/main.js
index 1354aee..5eabe91 100644
--- a/main.js
+++ b/main.js
@@ -23,9 +23,9 @@ Vue.use(Vue2OrgTree)
import axios from 'axios';
import { saveAs } from 'file-saver';
window.wx = {}
-import floating from '@/components/floating/floating.vue';
+
/*底部数据*/
-Vue.component('floating', floating)
+
Vue.prototype.$store = store
Vue.use(uview)
Vue.config.productionTip = false
diff --git a/pages/index/index.vue b/pages/index/index.vue
index cbb94b2..3b31ead 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -37,13 +37,7 @@
-->
-
-
+