From 088bc48f95ee7cdf42f8c0a86eb3bb0e930d6926 Mon Sep 17 00:00:00 2001 From: coderZcx <992132258@qq.com> Date: Tue, 25 Jul 2023 22:11:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=B8=85=E7=A9=BA=E7=94=BB=E5=B8=83?= =?UTF-8?q?=E6=97=B6=E5=80=99=EF=BC=8C=E9=80=89=E4=B8=AD=E5=8F=B3=E4=BE=A7?= =?UTF-8?q?=E7=9A=84=E8=A1=A8=E5=8D=95=E6=B2=A1=E6=9C=89=E8=A2=AB=E6=B8=85?= =?UTF-8?q?=E9=99=A4=E5=92=8C=E5=85=B3=E9=97=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/canvas/components/Toolbar.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/components/canvas/components/Toolbar.vue b/frontend/src/components/canvas/components/Toolbar.vue index 4d1a138a68..4038580fd5 100644 --- a/frontend/src/components/canvas/components/Toolbar.vue +++ b/frontend/src/components/canvas/components/Toolbar.vue @@ -541,6 +541,8 @@ export default { clearCanvas() { this.$store.commit('setComponentData', []) this.$store.commit('recordSnapshot', 'clearCanvas') + bus.$emit('change_panel_right_draw', false) + this.$store.commit('setCurComponent', { component: null, index: null }) }, handlePreviewChange() {