mirror of
https://gitee.com/dromara/go-view.git
synced 2025-02-24 16:22:57 +08:00
fix: 修复右键会出现对其线条的bug
This commit is contained in:
parent
ca2d70df6e
commit
dd824a8ca6
@ -228,30 +228,6 @@ watch(
|
|||||||
selectTarget.value.setPosition(componentRightX - selectW, selectTopY)
|
selectTarget.value.setPosition(componentRightX - selectW, selectTopY)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* 我也不知道为什么这个不行,还没时间调
|
|
||||||
if(lineItem.includes('row')) {
|
|
||||||
selectY.forEach(sY => {
|
|
||||||
componentY.forEach(cY => {
|
|
||||||
if (isSorption(sY, cY)) {
|
|
||||||
line.select.set(lineItem, { y: cY })
|
|
||||||
}
|
|
||||||
})
|
|
||||||
})
|
|
||||||
return
|
|
||||||
}
|
|
||||||
if(lineItem.includes('col')) {
|
|
||||||
seletX.forEach(sX => {
|
|
||||||
componentX.forEach(cX => {
|
|
||||||
if (isSorption(sX, cX)) {
|
|
||||||
line.select.set(lineItem, { x: sX })
|
|
||||||
}
|
|
||||||
})
|
|
||||||
})
|
|
||||||
return
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
}, 200),
|
}, 200),
|
||||||
@ -267,7 +243,6 @@ watch(
|
|||||||
if (!val) {
|
if (!val) {
|
||||||
line.select.clear()
|
line.select.clear()
|
||||||
line.sorptioned.y = false
|
line.sorptioned.y = false
|
||||||
chartEditStore.setEditCanvas(EditCanvasTypeEnum.IS_DRAG, true)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user