提交 1c551ae3 authored 作者: wangjiahao's avatar wangjiahao

refactor: 视图联动不清除历史联动条件

上级 1e12ba05
...@@ -279,7 +279,7 @@ const data = { ...@@ -279,7 +279,7 @@ const data = {
const ele = element.options.tabList[idx].content const ele = element.options.tabList[idx].content
if (!ele.type || ele.type !== 'view') continue if (!ele.type || ele.type !== 'view') continue
const currentFilters = [] const currentFilters = element.linkageFilters || [] // 当前联动filter
data.dimensionList.forEach(dimension => { data.dimensionList.forEach(dimension => {
const sourceInfo = viewId + '#' + dimension.id const sourceInfo = viewId + '#' + dimension.id
...@@ -312,9 +312,9 @@ const data = { ...@@ -312,9 +312,9 @@ const data = {
state.componentData[index] = element state.componentData[index] = element
} }
if (!element.type || element.type !== 'view') continue 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 => { data.dimensionList.forEach(dimension => {
const sourceInfo = viewId + '#' + dimension.id const sourceInfo = viewId + '#' + dimension.id
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论