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) {