From 5e27e1ae2518ae2283171bb9b67ab4a68f1325a8 Mon Sep 17 00:00:00 2001 From: taojinlong Date: Mon, 30 Jan 2023 15:50:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=97=A5=E6=9C=9F=E8=8C=83=E5=9B=B4?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E7=9A=84=E5=BC=80=E5=A7=8B=E7=BB=93=E6=9D=9F?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E5=8F=82=E6=95=B0=E9=87=8D=E5=A4=8D=E5=87=BA?= =?UTF-8?q?=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../panel/filter/filterMain/FilterControl.vue | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/frontend/src/views/panel/filter/filterMain/FilterControl.vue b/frontend/src/views/panel/filter/filterMain/FilterControl.vue index ac77d2d6ab..4bec477cef 100644 --- a/frontend/src/views/panel/filter/filterMain/FilterControl.vue +++ b/frontend/src/views/panel/filter/filterMain/FilterControl.vue @@ -357,23 +357,7 @@ export default { }, 'activeName': { handler(newName, oldName) { - if (this.activeName === 'assembly') { - this.allParams = JSON.parse(JSON.stringify(this.childViews.datasetParams)) - } else { - if (this.datasetParams.length > 0) { - for (var j = 0; j < this.datasetParams.length; j++) { - var hasParam = false - for (var i = 0; i < this.childViews.datasetParams.length; i++) { - if (this.childViews.datasetParams[i].id === this.datasetParams[j].id) { - hasParam = true - } - } - if (!hasParam) { - this.allParams.push(this.datasetParams[j]) - } - } - } - } + } } },