From d0d825e09ffdb95e9c4edcc44eeff08c4b2a9c23 Mon Sep 17 00:00:00 2001 From: luohairen <3399054449@qq.com> Date: 星期四, 07 十一月 2024 15:53:22 +0800 Subject: [PATCH] 完成教师端,考试列表展示 --- src/store/modules/exam.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/store/modules/exam.js b/src/store/modules/exam.js index 816c71d..41ae19a 100644 --- a/src/store/modules/exam.js +++ b/src/store/modules/exam.js @@ -19,7 +19,7 @@ const actions = { initSubject ({ commit }, action) { subjectApi.list().then(re => { - commit('setSubjects', re.response) + commit('setSubjects', re.data) if (action !== undefined) { action() } -- Gitblit v1.8.0