mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-12 19:38:05 +00:00
fix: 新元素无法在大纲树拖拽
This commit is contained in:
parent
f400172825
commit
3d41fd5d07
@ -152,7 +152,8 @@ export class OutlineMain implements ISensor, ITreeBoard, IScrollable {
|
||||
return canMove;
|
||||
});
|
||||
|
||||
if (!operationalNodes || operationalNodes.length === 0) {
|
||||
// 如果拖拽的是 Node 才需要后面的判断,拖拽 data 不需要
|
||||
if (isDragNodeObject(dragObject) && (!operationalNodes || operationalNodes.length === 0)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user