zhangjie 1 year ago
parent
commit
2f59c862ed
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/store/modules/invigilation.js

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

@@ -79,7 +79,7 @@ const actions = {
     const res = await invigilateCount({ ...datas, ...state.cacheExamActivity });
     commit("setRealtimeMonitoring", res.data.data.length);
   },
-  async fetchWarningManageCount({ commit }, datas) {
+  async fetchWarningManageCount({ state, commit }, datas) {
     if (
       !state.cacheExamActivity.examId ||
       !state.cacheExamActivity.examActivityId
@@ -91,7 +91,7 @@ const actions = {
     });
     commit("setWarningManage", res.data.data.count);
   },
-  async fetchReexamPendingCount({ commit }, datas) {
+  async fetchReexamPendingCount({ state, commit }, datas) {
     if (
       !state.cacheExamActivity.examId ||
       !state.cacheExamActivity.examActivityId