Browse Source

fix:798:数据库列表候选丢失

main
蒋吉兆 3 years ago
parent
commit
9d5659dfa1
  1. 4
      web/src/view/systemTools/autoCode/component/fieldDialog.vue

4
web/src/view/systemTools/autoCode/component/fieldDialog.vue

@ -189,6 +189,7 @@ export default {
})
this.dictOptions = dictRes.data.list
this.getDict()
},
methods: {
autoFill() {
@ -200,6 +201,9 @@ export default {
this.middleDate.dataTypeLong = ''
this.middleDate.fieldSearchType = ''
this.middleDate.dictType = ''
this.getDict()
},
async getDict() {
if (this.middleDate.fieldType) {
this.dbfdOptions = await getDict(this.middleDate.fieldType)
}

Loading…
Cancel
Save