mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-15 02:38:16 +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 dragon = designer.dragon;
|
||||||
const DragEngine = {
|
const DragEngine = {
|
||||||
from(shell: Element, boost: (e: MouseEvent) => any): any {
|
from(shell: Element, boost: (e: MouseEvent) => any): any {
|
||||||
dragon.from(shell, (e) => {
|
return dragon.from(shell, (e) => {
|
||||||
const r = boost(e);
|
const r = boost(e);
|
||||||
if (!r) {
|
if (!r) {
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user