lex-xin 4 лет назад
Родитель
Сommit
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)
   }
 }