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 {