1.0.0发布准备

This commit is contained in:
荣彬 2020-08-15 14:16:31 +08:00
parent 3de82f51a5
commit 7f60b142b3
2 changed files with 2 additions and 2 deletions

View File

@ -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",

View File

@ -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,