Browse Source

Merge branch 'Inspection' into online

wolyshaw 4 years ago
parent
commit
32d84a5e97
1 changed files with 1 additions and 5 deletions
  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: {