From 8480b10b70bf09f204597441a1f8c2496c455863 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期三, 10 七月 2024 15:39:42 +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