diff --git a/src/commands/view/ComponentDrag.js b/src/commands/view/ComponentDrag.js index 2dee0a6e4..5c94f4cbb 100644 --- a/src/commands/view/ComponentDrag.js +++ b/src/commands/view/ComponentDrag.js @@ -120,7 +120,7 @@ export default { }, updateGuides(guides) { - (guides || this.guides).forEach(item => { + const { editor } = this(guides || this.guides).forEach(item => { const { origin } = item; const { top, height, left, width } = editor.Canvas.getElementPos(origin);