mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-12 19:52:51 +00:00
fix: fix rgl container crash problem, remove invalid rgl.drop event
This commit is contained in:
parent
948660b54f
commit
c3984e5263
@ -408,7 +408,7 @@ export class Dragon {
|
|||||||
if (e) {
|
if (e) {
|
||||||
const { isRGL, rglNode } = getRGL(e);
|
const { isRGL, rglNode } = getRGL(e);
|
||||||
/* istanbul ignore next */
|
/* istanbul ignore next */
|
||||||
if (isRGL && this._canDrop) {
|
if (isRGL && this._canDrop && this._dragging) {
|
||||||
const tarNode = dragObject.nodes[0];
|
const tarNode = dragObject.nodes[0];
|
||||||
if (rglNode.id !== tarNode.id) {
|
if (rglNode.id !== tarNode.id) {
|
||||||
// 避免死循环
|
// 避免死循环
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user