Merge pull request #11811 from dataease/pr@dev-v2@refactor_group-mult

refactor(数据大屏): 多选支持选中分组
This commit is contained in:
王嘉豪 2024-08-28 14:32:40 +08:00 committed by GitHub
commit d9c4ece13d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -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 })

View File

@ -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)
}