From 8b2a9dcd9ada7a5fd40f8aa0993f6afef67493d3 Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期三, 12 六月 2024 17:58:26 +0800 Subject: [PATCH] feat:科目、题目 --- 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