diff --git a/frontend/src/views/panel/filter/filterDialog.vue b/frontend/src/views/panel/filter/filterDialog.vue index d0f11da9a4..69df767462 100644 --- a/frontend/src/views/panel/filter/filterDialog.vue +++ b/frontend/src/views/panel/filter/filterDialog.vue @@ -181,7 +181,7 @@
- + @@ -297,7 +297,6 @@ export default { datasetParams: [] }, currentElement: null, - tableFieldsMap: {}, tempTreeDatas: null, showTips: false } @@ -632,7 +631,6 @@ export default { loadField(tableId) { fieldListWithPermission(tableId).then(res => { let datas = res.data - this.$set(this.tableFieldsMap, tableId, JSON.parse(JSON.stringify(datas))) if (this.widget && this.widget.filterFieldMethod) { datas = this.widget.filterFieldMethod(datas) } @@ -643,7 +641,6 @@ export default { comLoadField(tableId) { fieldListWithPermission(tableId).then(res => { let datas = res.data - this.$set(this.tableFieldsMap, tableId, JSON.parse(JSON.stringify(datas))) if (this.widget && this.widget.filterFieldMethod) { datas = this.widget.filterFieldMethod(datas) } diff --git a/frontend/src/views/panel/filter/filterMain/FilterHead.vue b/frontend/src/views/panel/filter/filterMain/FilterHead.vue index 21826c658c..859c45fa90 100644 --- a/frontend/src/views/panel/filter/filterMain/FilterHead.vue +++ b/frontend/src/views/panel/filter/filterMain/FilterHead.vue @@ -18,7 +18,7 @@ > - + {{ $t('panel.drag_here') }} @@ -34,6 +34,8 @@