From 5506fde2ee83a836dcb6ef41ff726669abf4141f Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Tue, 16 Nov 2021 12:31:09 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E9=83=A8=E5=88=86=E7=94=B5=E8=84=91?= =?UTF-8?q?=E9=94=AE=E7=9B=98=E5=85=A8=E5=B1=8F=E6=8C=89=E9=94=AE=E4=BB=AA?= =?UTF-8?q?=E8=A1=A8=E6=9D=BF=E4=B8=8B=E6=96=B9=E5=AD=98=E5=9C=A8=E7=A9=BA?= =?UTF-8?q?=E7=99=BD=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/canvas/components/Editor/Preview.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/canvas/components/Editor/Preview.vue b/frontend/src/components/canvas/components/Editor/Preview.vue index 380c9d5a68..cf2b0eb7c1 100644 --- a/frontend/src/components/canvas/components/Editor/Preview.vue +++ b/frontend/src/components/canvas/components/Editor/Preview.vue @@ -152,7 +152,7 @@ export default { const _this = this const erd = elementResizeDetectorMaker() // 监听div变动事件 - const tempDom = document.getElementById('canvasInfoTemp') + const tempDom = document.getElementById('canvasInfoMain') erd.listenTo(tempDom, element => { _this.$nextTick(() => { _this.restore()