refactor(数据大屏): 分组内含有tab组件禁止再移入tab

This commit is contained in:
wangjiahao 2025-01-02 16:32:04 +08:00 committed by dataeaseShu
parent b3cf3cf35c
commit 9bb4b88853

View File

@ -555,7 +555,6 @@ const handleMouseDownOnShape = e => {
//
// 使curX 使 tab + +
// tabtabGroup pTabGroupFlag = true
// Tab pJoinTab = false
if (
!pTabGroupFlag &&
pJoinTab &&
@ -996,7 +995,12 @@ const tabMoveInCheck = async () => {
const left = curNode.offsetLeft
const top = curNode.offsetTop
// tab tabtab
if (isTabMoveCheck.value && !state.ignoreTabMoveComponent.includes(element.value.component)) {
// Tab pJoinTab = false
if (
pJoinTab &&
isTabMoveCheck.value &&
!state.ignoreTabMoveComponent.includes(element.value.component)
) {
const nodes = Array.from(parentNode.value.childNodes) //
for (const item of nodes) {
if (