Browse Source

Merge pull request #802 from flipped-aurora/update

fix:798:数据库列表候选丢失
main
奇淼(piexlmax 3 years ago
committed by GitHub
parent
commit
93e37981c7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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.dictOptions = dictRes.data.list
this.getDict()
}, },
methods: { methods: {
autoFill() { autoFill() {
@ -200,6 +201,9 @@ export default {
this.middleDate.dataTypeLong = '' this.middleDate.dataTypeLong = ''
this.middleDate.fieldSearchType = '' this.middleDate.fieldSearchType = ''
this.middleDate.dictType = '' this.middleDate.dictType = ''
this.getDict()
},
async getDict() {
if (this.middleDate.fieldType) { if (this.middleDate.fieldType) {
this.dbfdOptions = await getDict(this.middleDate.fieldType) this.dbfdOptions = await getDict(this.middleDate.fieldType)
} }

Loading…
Cancel
Save