forked from github/dataease
fix(图表): 修复数据大屏tab非首个tab页时可能移动位置实现问题
This commit is contained in:
parent
544855912c
commit
fd273d0714
@ -526,7 +526,7 @@ export function isGroupCanvas(canvasId) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function isTabCanvas(canvasId) {
|
export function isTabCanvas(canvasId) {
|
||||||
return canvasId && canvasId.includes('tab')
|
return canvasId && !canvasId.includes('Group') && !isMainCanvas(canvasId)
|
||||||
}
|
}
|
||||||
|
|
||||||
export function findComponentIndexById(componentId, componentDataMatch = componentData.value) {
|
export function findComponentIndexById(componentId, componentDataMatch = componentData.value) {
|
||||||
|
Loading…
Reference in New Issue
Block a user