fix(图表): 修复数据大屏tab非首个tab页时可能移动位置实现问题

This commit is contained in:
wangjiahao 2024-09-04 15:28:46 +08:00
parent 544855912c
commit fd273d0714

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) {