From b02929a0c6a7eb6941b8d7bc03a3d501b25297e8 Mon Sep 17 00:00:00 2001
From: e <2432808546@qq.com>
Date: Wed, 5 Jan 2022 14:17:12 +0800
Subject: [PATCH] =?UTF-8?q?=E9=93=B6=E8=A1=8C=E5=88=A4=E5=88=86=E7=82=B9?=
=?UTF-8?q?=E6=95=B0=E6=8D=AE=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/Transaction.vue | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/views/Transaction.vue b/src/views/Transaction.vue
index 64ad4ad..50db958 100644
--- a/src/views/Transaction.vue
+++ b/src/views/Transaction.vue
@@ -147,7 +147,7 @@
>
@@ -173,7 +173,7 @@
>
@@ -490,7 +490,7 @@ export default {
//题目类型(1选择 2判断 3填空 4问答 5指标结果)
if (item.type == 1 || item.type == 2) {
obj.subjectId = Number(item.emptyOne);
- obj.value1 = item.emptyTwo;
+ obj.value1 = +item.emptyTwo;
} else if (item.type == 3) {
obj.subjectId = Number(item.emptyOne);
obj.value1 = item.emptyTwo;
@@ -540,7 +540,7 @@ export default {
console.log(obj)
if (item.type == 1 || item.type == 2) {
obj.subjectId = Number(item.emptyOne);
- obj.value1 = item.emptyTwo;
+ obj.value1 = +item.emptyTwo;
} else if (item.type == 3) {
obj.subjectId = Number(item.emptyOne);
obj.value1 = item.emptyTwo;