mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-12 11:20:11 +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) {
|
||||
const { isRGL, rglNode } = getRGL(e);
|
||||
/* istanbul ignore next */
|
||||
if (isRGL && this._canDrop) {
|
||||
if (isRGL && this._canDrop && this._dragging) {
|
||||
const tarNode = dragObject.nodes[0];
|
||||
if (rglNode.id !== tarNode.id) {
|
||||
// 避免死循环
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user