소스 검색

fix 提示

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: {