From 5c5bc938dc3904600e98f4f4a22cf53e592f932d Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Fri, 8 Sep 2023 17:09:09 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=BF=87=E6=BB=A4=E5=99=A8):=20=E6=A8=A1?= =?UTF-8?q?=E7=89=88=E8=AF=95=E5=9B=BE=E6=9B=B4=E6=8D=A2=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E9=9B=86=E4=B9=8B=E5=90=8E=E8=BF=87=E6=BB=A4=E5=99=A8=E6=9C=AA?= =?UTF-8?q?=E8=83=BD=E6=98=BE=E7=A4=BA=E6=95=B0=E6=8D=AE=E9=9B=86=E5=88=97?= =?UTF-8?q?=E8=A1=A8#5634?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/frontend/src/views/panel/filter/FilterDialog.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/frontend/src/views/panel/filter/FilterDialog.vue b/core/frontend/src/views/panel/filter/FilterDialog.vue index 975dc186af..457650e75b 100644 --- a/core/frontend/src/views/panel/filter/FilterDialog.vue +++ b/core/frontend/src/views/panel/filter/FilterDialog.vue @@ -798,7 +798,7 @@ export default { async loadField(tableId, init) { const res = await fieldListWithPermission(tableId) let data = res.data || [] - if (init && !this.checkSuperior(data, this.anotherTableInfo(tableId))) { + if (init && (!data.length || !this.checkSuperior(data, this.anotherTableInfo(tableId)))) { this.backToLink() } if (this.widget && this.widget.filterFieldMethod) {