From 9cf2d8c275778dcc6a8c17cfed78363a1b68772c Mon Sep 17 00:00:00 2001
From: odc.xiaohui <xiaohui@Q1>
Date: 星期五, 28 七月 2023 12:31:58 +0800
Subject: [PATCH] 修改青羊后台题目个人模拟列表导出
---
src/store/modules/exam.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/store/modules/exam.js b/src/store/modules/exam.js
index b96a649..d1fcbbe 100644
--- a/src/store/modules/exam.js
+++ b/src/store/modules/exam.js
@@ -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