瀏覽代碼

Merge branch 'Inspection'

lex-xin 4 年之前
父節點
當前提交
8fbbc65b0a
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/store/modules/app.js

+ 2 - 2
src/store/modules/app.js

@@ -38,12 +38,12 @@ const mutations = {
     state.device = device
   },
   COMMIT_DOT_STATUS: (state, status) => {
-    toggleDot(status)
     const { musicPatrol, studentInfo, teacherInfo } = status
     state.status = {
       ...status,
-      remindMatterData: musicPatrol || studentInfo || teacherInfo
+      indexErrData: musicPatrol || studentInfo || teacherInfo
     }
+    toggleDot(state.status)
   }
 }