mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-02-27 20:30:28 +00:00
1.0.0发布准备
This commit is contained in:
parent
3de82f51a5
commit
7f60b142b3
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ali/lowcode-plugin-outline-pane",
|
||||
"version": "0.9.0",
|
||||
"version": "0.9.1",
|
||||
"description": "Outline pane for Ali lowCode engine",
|
||||
"files": [
|
||||
"es",
|
||||
|
||||
@ -135,7 +135,7 @@ export class OutlineMain implements ISensor, ITreeBoard, IScrollable {
|
||||
const irect = this.getInsertionRect();
|
||||
const originLoc = document.dropLocation;
|
||||
|
||||
const prop = e.dragObject.nodes[0].getPrototype();
|
||||
const prop = e.dragObject.nodes ? e.dragObject.nodes[0].getPrototype() : null;
|
||||
if (e.dragObject.type === 'node' && prop && prop.isModal()) {
|
||||
return designer.createLocation({
|
||||
target: document.rootNode,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user