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);