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