mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-13 09:41:57 +00:00
add return
This commit is contained in:
parent
8e3e3b589a
commit
567281fa9b
@ -4,7 +4,7 @@ import { DragObjectType, isNode } from '@ali/lowcode-designer';
|
||||
const dragon = designer.dragon;
|
||||
const DragEngine = {
|
||||
from(shell: Element, boost: (e: MouseEvent) => any): any {
|
||||
dragon.from(shell, (e) => {
|
||||
return dragon.from(shell, (e) => {
|
||||
const r = boost(e);
|
||||
if (!r) {
|
||||
return null;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user