From d754db86bca9ec7a4dc9f4922836325a2db8dd94 Mon Sep 17 00:00:00 2001 From: odc.xiaohui <xiaohui@Q1> Date: 星期二, 17 十月 2023 17:43:05 +0800 Subject: [PATCH] 修改青羊后台部门bug --- src/store/modules/exam.js | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/store/modules/exam.js b/src/store/modules/exam.js index a8f8c3d..d1fcbbe 100644 --- a/src/store/modules/exam.js +++ b/src/store/modules/exam.js @@ -12,7 +12,7 @@ for (let k of key) { // console.log(j,k) if (j.id ==k){ - str+= j.name + ' ( ' + j.levelName + ' )'+' /' + str+= j.name + ' /' } } } @@ -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