src/utils/utils.js
@@ -702,7 +702,7 @@ arrfield.push(...item.linkSubField) } else if (item.type === 'checkcard') { arrfield = item.fields.map(f => f.field) arrfield.push(item.valueField) arrfield.push(item.cardValField) } arrfield = Array.from(new Set(arrfield)) @@ -1157,7 +1157,7 @@ } // 添加数据中字段,表单值优先(按钮不选行或多行拼接时跳过) if (data && btn.Ot !== 'notRequired' && btn.Ot !== 'requiredOnce') { if (data && !btn.$forbid && btn.Ot !== 'notRequired' && btn.Ot !== 'requiredOnce') { datavars = {...data, ...datavars} const setField = (col) => {