From c62192be42c2b5870ca54d3ac800507d20f7019b Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期三, 30 十月 2024 21:54:41 +0800
Subject: [PATCH] 非空提示、学员管理新增学员bug
---
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