From ac8432d6467281a811ff63bc94c395eb5ba43adf Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Mon, 06 Nov 2023 19:36:52 +0800
Subject: [PATCH] 考试重置响应信息修改
---
src/views/trainExam/performance.vue | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/views/trainExam/performance.vue b/src/views/trainExam/performance.vue
index 29e49bc..29ca567 100644
--- a/src/views/trainExam/performance.vue
+++ b/src/views/trainExam/performance.vue
@@ -1219,7 +1219,7 @@
// 考试重置
reself({id}) {
reselfExamScore(id).then((res) => {
- if (res.data.success == true) {
+ if (res.data.data.code == 200) {
this.$message({
showClose: true,
message: "重置成功",
@@ -1230,7 +1230,7 @@
} else {
this.$message({
showClose: true,
- message: "重置错误!请联系管理员",
+ message: res.data.data.msg,
type: "warning",
});
}
--
Gitblit v1.9.3