From 1c551ae3ccfdeb1f9d8b066790ecc08729f083c7 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Thu, 28 Apr 2022 16:25:17 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E8=A7=86=E5=9B=BE=E8=81=94?= =?UTF-8?q?=E5=8A=A8=E4=B8=8D=E6=B8=85=E9=99=A4=E5=8E=86=E5=8F=B2=E8=81=94?= =?UTF-8?q?=E5=8A=A8=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/store/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/store/index.js b/frontend/src/store/index.js index 1946f180c5..66fb352c25 100644 --- a/frontend/src/store/index.js +++ b/frontend/src/store/index.js @@ -279,7 +279,7 @@ const data = { const ele = element.options.tabList[idx].content if (!ele.type || ele.type !== 'view') continue - const currentFilters = [] + const currentFilters = element.linkageFilters || [] // 当前联动filter data.dimensionList.forEach(dimension => { const sourceInfo = viewId + '#' + dimension.id @@ -312,9 +312,9 @@ const data = { state.componentData[index] = element } if (!element.type || element.type !== 'view') continue - // const currentFilters = element.linkageFilters || [] // 当前联动filter + const currentFilters = element.linkageFilters || [] // 当前联动filter // 联动的视图情况历史条件 - const currentFilters = [] + // const currentFilters = [] data.dimensionList.forEach(dimension => { const sourceInfo = viewId + '#' + dimension.id