修复低代码平台
This commit is contained in:
@@ -179,7 +179,7 @@
|
|||||||
<h2>绑定字段</h2>
|
<h2>绑定字段</h2>
|
||||||
</div>
|
</div>
|
||||||
<div class="right-item__content">
|
<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>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -563,13 +563,13 @@ export default {
|
|||||||
list.push(item.type)
|
list.push(item.type)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
if (list.indexOf(e.type) > -1 && ['name', 'idNumber', 'phone', 'area'].includes(e.type)) {
|
if (list.indexOf(e.type) > -1 && ['name', 'idNumber', 'phone', 'area'].includes(e.type)) {
|
||||||
this.$message.error('信息组件不能重复添加')
|
this.$message.error('信息组件不能重复添加')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return JSON.parse(JSON.stringify(e))
|
return JSON.parse(JSON.stringify(e))
|
||||||
|
},
|
||||||
|
handleAutoFieldName(v) {
|
||||||
|
this.currTarget.fieldName = this.propOps.find(e => e.dictValue == v)?.dictName || this.currTarget.fieldName
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
@@ -942,7 +942,7 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.right-item {
|
.right-item {
|
||||||
margin-top: 20px;
|
margin: 20px 0;
|
||||||
padding: 0 20px;
|
padding: 0 20px;
|
||||||
|
|
||||||
.right-item__tips {
|
.right-item__tips {
|
||||||
|
|||||||
Reference in New Issue
Block a user