Merge pull request #12001 from dataease/pr@dev-v2@fix_tab

fix(图表): 修复数据大屏tab非首个tab页时可能移动位置实现问题
This commit is contained in:
王嘉豪 2024-09-04 15:29:22 +08:00 committed by GitHub
commit 98888e8c23
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -526,7 +526,7 @@ export function isGroupCanvas(canvasId) {
}
export function isTabCanvas(canvasId) {
return canvasId && canvasId.includes('tab')
return canvasId && !canvasId.includes('Group') && !isMainCanvas(canvasId)
}
export function findComponentIndexById(componentId, componentDataMatch = componentData.value) {