wolyshaw 4 سال پیش
والد
کامیت
617e4d93dd
1فایلهای تغییر یافته به همراه1 افزوده شده و 5 حذف شده
  1. 1 5
      src/views/main/index.vue

+ 1 - 5
src/views/main/index.vue

@@ -47,12 +47,8 @@ export default {
     }
   },
   computed: {
-    hasError() {
-      const { indexErrData, remindMatterData } = this.status
-      return indexErrData || remindMatterData
-    },
     status() {
-      return this.$store.state.app.status
+      return this.$store.state.app.status || {}
     }
   },
   watch: {