forked from github/dataease
refactor(数据大屏): 多选支持选中分组
This commit is contained in:
parent
716cefa6a4
commit
28e9129fe1
@ -39,7 +39,7 @@ const areaDataPush = component => {
|
||||
component.isShow &&
|
||||
component.canvasId === 'canvas-main' &&
|
||||
component.category !== 'hidden' &&
|
||||
!['Group', 'GroupArea', 'DeTabs'].includes(component.component)
|
||||
!['GroupArea', 'DeTabs'].includes(component.component)
|
||||
) {
|
||||
areaData.value.components.push(component)
|
||||
}
|
||||
@ -75,7 +75,7 @@ const shiftDataPush = curClickIndex => {
|
||||
!component.isLock &&
|
||||
component.isShow &&
|
||||
component.category !== 'hidden' &&
|
||||
!['Group', 'GroupArea', 'DeTabs'].includes(component.component)
|
||||
!['GroupArea', 'DeTabs'].includes(component.component)
|
||||
)
|
||||
areaData.value.components.push(...shiftAreaComponents)
|
||||
dvMainStore.setCurComponent({ component: null, index: null })
|
||||
|
@ -431,7 +431,7 @@ const areaDataPush = component => {
|
||||
!component.isLock &&
|
||||
component.isShow &&
|
||||
component.canvasId === 'canvas-main' &&
|
||||
!['Group', 'GroupArea', 'DeTabs'].includes(component.component)
|
||||
!['GroupArea', 'DeTabs'].includes(component.component)
|
||||
) {
|
||||
areaData.value.components.push(component)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user