From c9a74baa2ae6a000813a3ef621dc57239bbfdadc Mon Sep 17 00:00:00 2001 From: e <2432808546@qq.com> Date: Fri, 28 Jan 2022 16:18:40 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9C=80=E7=82=B9=E5=87=BB=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Transaction.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/views/Transaction.vue b/src/views/Transaction.vue index f37cc69..c4f846c 100644 --- a/src/views/Transaction.vue +++ b/src/views/Transaction.vue @@ -583,6 +583,11 @@ export default { isDisabled: true, // 已禁用 isSave: true // 已保存 }; + if(item.type == undefined || item.type == ''){ + obj.type = null + }else{ + obj.type = item.type + } //题目类型(1选择 2判断 3填空 4问答 5指标结果) if (item.type == 1 || item.type == 2) { obj.subjectId = Number(item.emptyOne);