diff --git a/src/commands/view/ComponentDrag.js b/src/commands/view/ComponentDrag.js index 3a89baf54..c5cbff9ed 100644 --- a/src/commands/view/ComponentDrag.js +++ b/src/commands/view/ComponentDrag.js @@ -308,7 +308,7 @@ export default { }; }, - onStart() { + onStart(event) { const { target, editor, isTran, opts } = this; const { center, onStart } = opts; const { Canvas } = editor;