Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
loongten
dataease
Commits
1c551ae3
Commit
1c551ae3
authored
3 years ago
by
wangjiahao
Browse files
Options
Download
Email Patches
Plain Diff
refactor: 视图联动不清除历史联动条件
parent
1e12ba05
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
frontend/src/store/index.js
+3
-3
frontend/src/store/index.js
with
3 additions
and
3 deletions
+3
-3
frontend/src/store/index.js
+
3
-
3
View file @
1c551ae3
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment