From 391f66b96a3643279cb45396dd42ec757ad7168e Mon Sep 17 00:00:00 2001 From: 梁保满 Date: Wed, 7 Jun 2023 17:33:35 +0800 Subject: [PATCH] 异常设备信息显示问题,单题型总分错误 --- src/views/examinationPaper/edit.vue | 21 ++++++++++++++------- src/views/standard/device/error.vue | 30 +++++++++++++++--------------- 2 files changed, 29 insertions(+), 22 deletions(-) diff --git a/src/views/examinationPaper/edit.vue b/src/views/examinationPaper/edit.vue index 4a11dbc..778aa7d 100644 --- a/src/views/examinationPaper/edit.vue +++ b/src/views/examinationPaper/edit.vue @@ -2,7 +2,7 @@
@@ -14,7 +14,7 @@ }}老师修改了答案

-
+

试卷名称: @@ -310,7 +310,8 @@ 取消 保存

- 取 消
- 关闭弹窗
- +
@@ -520,7 +527,7 @@ export default { return a + (Number(b.score) || 0); }, 0); } else { - score += item.score; + score += (item.score || 0); } }, 0); return Number(score).toFixed(2); @@ -1126,7 +1133,7 @@ export default { color: #333; font-weight: 700; padding: 20px 0; - &.t-left{ + &.t-left { text-align: left; } .totals { diff --git a/src/views/standard/device/error.vue b/src/views/standard/device/error.vue index 5282f0a..a2e0579 100644 --- a/src/views/standard/device/error.vue +++ b/src/views/standard/device/error.vue @@ -13,21 +13,6 @@ align="center" width="160" > - - -