From a632cefb3be1f66c8a5fc2f42ee6eea0c7bddd11 Mon Sep 17 00:00:00 2001 From: aixianling Date: Fri, 1 Jul 2022 18:00:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BD=8E=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E5=B9=B3=E5=8F=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/oms/apps/develop/AppAiCode/detailLayout.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/project/oms/apps/develop/AppAiCode/detailLayout.vue b/project/oms/apps/develop/AppAiCode/detailLayout.vue index 4703df5e..fab9c438 100644 --- a/project/oms/apps/develop/AppAiCode/detailLayout.vue +++ b/project/oms/apps/develop/AppAiCode/detailLayout.vue @@ -179,7 +179,7 @@

绑定字段

- +
@@ -563,13 +563,13 @@ export default { list.push(item.type) }) }) - if (list.indexOf(e.type) > -1 && ['name', 'idNumber', 'phone', 'area'].includes(e.type)) { this.$message.error('信息组件不能重复添加') } - - return JSON.parse(JSON.stringify(e)) + }, + handleAutoFieldName(v) { + this.currTarget.fieldName = this.propOps.find(e => e.dictValue == v)?.dictName || this.currTarget.fieldName } }, created() { @@ -942,7 +942,7 @@ export default { } .right-item { - margin-top: 20px; + margin: 20px 0; padding: 0 20px; .right-item__tips {