wolyshaw 4 tahun lalu
induk
melakukan
617e4d93dd
1 mengubah file dengan 1 tambahan dan 5 penghapusan
  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: {