From db5455a1bcea1d8e69cfc13fc8f74ea10f59ad6f Mon Sep 17 00:00:00 2001 From: qirong <2032486488@qq.com> Date: 星期五, 27 十月 2023 13:37:09 +0800 Subject: [PATCH] 部门修改 --- src/store/modules/exam.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/store/modules/exam.js b/src/store/modules/exam.js index b96a649..d1fcbbe 100644 --- a/src/store/modules/exam.js +++ b/src/store/modules/exam.js @@ -28,8 +28,8 @@ // actions const actions = { - initSubject ({ commit }, action) { - subjectApi.list().then(re => { + async initSubject ({ commit }, action) { + await subjectApi.list().then(re => { commit('setSubjects', re.response) if (action !== undefined) { action() -- Gitblit v1.8.0