修复低代码平台

This commit is contained in:
aixianling
2022-07-01 18:00:00 +08:00
parent 96b7c8bbeb
commit a632cefb3b

View File

@@ -179,7 +179,7 @@
<h2>绑定字段</h2>
</div>
<div class="right-item__content">
<ai-select v-model="currTarget.prop" :selectList="propOps"/>
<ai-select v-model="currTarget.prop" :selectList="propOps" @change="handleAutoFieldName"/>
</div>
</div>
</template>
@@ -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 {