From 9d5659dfa110cdc9b6b9934c44ef50b1988b0f75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=92=8B=E5=90=89=E5=85=86?= <303176530@qq.com> Date: Sun, 14 Nov 2021 22:47:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:798:=E6=95=B0=E6=8D=AE=E5=BA=93=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E5=80=99=E9=80=89=E4=B8=A2=E5=A4=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/view/systemTools/autoCode/component/fieldDialog.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web/src/view/systemTools/autoCode/component/fieldDialog.vue b/web/src/view/systemTools/autoCode/component/fieldDialog.vue index 3de4f31e..18f2c9f3 100644 --- a/web/src/view/systemTools/autoCode/component/fieldDialog.vue +++ b/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) }