From fa11faa07eb31e9dda4ae48d6ba4b2fc32190b3b Mon Sep 17 00:00:00 2001
From: 龚焕茏 <2842157468@qq.com>
Date: 星期二, 14 五月 2024 17:28:24 +0800
Subject: [PATCH] feat:答卷统计新需求
---
src/store/modules/exam.js | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/store/modules/exam.js b/src/store/modules/exam.js
index a8f8c3d..d1fcbbe 100644
--- a/src/store/modules/exam.js
+++ b/src/store/modules/exam.js
@@ -12,7 +12,7 @@
for (let k of key) {
// console.log(j,k)
if (j.id ==k){
- str+= j.name + ' ( ' + j.levelName + ' )'+' /'
+ str+= j.name + ' /'
}
}
}
@@ -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