修复低代码平台
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user