From 52d094a7c726dc2d2290038b96cc9757d2064bcb Mon Sep 17 00:00:00 2001 From: wanglin2 <1013335014@qq.com> Date: Wed, 5 Apr 2023 09:55:39 +0800 Subject: [PATCH] =?UTF-8?q?Demo:=E7=AA=97=E5=8F=A3=E5=A4=A7=E5=B0=8F?= =?UTF-8?q?=E6=94=B9=E5=8F=98=E5=90=8E=E4=BF=AE=E6=94=B9=E7=94=BB=E5=B8=83?= =?UTF-8?q?=E5=A4=A7=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/pages/Edit/components/Edit.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/src/pages/Edit/components/Edit.vue b/web/src/pages/Edit/components/Edit.vue index f97921c8..04769ba8 100644 --- a/web/src/pages/Edit/components/Edit.vue +++ b/web/src/pages/Edit/components/Edit.vue @@ -126,6 +126,9 @@ export default { this.$bus.$on('createAssociativeLine', () => { this.mindMap.associativeLine.createLineFromActiveNode() }) + window.addEventListener('resize', () => { + this.mindMap.resize() + }) if (this.openTest) { setTimeout(() => { this.test()