From d8b1238409641248cfdff10223ff339ea6fcbe18 Mon Sep 17 00:00:00 2001
From: wangjiahao <1522128093@qq.com>
Date: Wed, 22 Nov 2023 17:00:06 +0800
Subject: [PATCH] =?UTF-8?q?style:=20=E7=94=BB=E5=B8=83=E7=BB=84=E4=BB=B6?=
=?UTF-8?q?=E8=87=AA=E9=80=82=E5=BA=94=E6=8C=89=E9=92=AE=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../frontend/src/components/canvas/components/Toolbar.vue | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/core/frontend/src/components/canvas/components/Toolbar.vue b/core/frontend/src/components/canvas/components/Toolbar.vue
index c9273dbe41..854b34dcb5 100644
--- a/core/frontend/src/components/canvas/components/Toolbar.vue
+++ b/core/frontend/src/components/canvas/components/Toolbar.vue
@@ -138,8 +138,8 @@
{{ $t('panel.auto_size_adaptor') }}
@@ -285,7 +285,6 @@ export default {
return {
showPageLine: false,
showGridSwitch: false,
- autoSizeAdaptorSwitch: true,
mobileLayoutInitStatus: false,
isShowPreview: false,
needToChange: [
@@ -346,7 +345,6 @@ export default {
this.scale = this.canvasStyleData.scale
this.mobileLayoutInitStatus = this.mobileLayoutStatus
this.showGridSwitch = this.canvasStyleData.aidedDesign.showGrid
- this.autoSizeAdaptorSwitch = this.canvasStyleData.autoSizeAdaptor || true
this.showPageLine = this.canvasStyleData.pdfPageLine?.showPageLine
this.autoCache()
},
@@ -640,7 +638,7 @@ export default {
},
showSizeAdaptorSwitchChange() {
this.$store.commit('canvasChange')
- this.canvasStyleData.autoSizeAdaptor = !this.canvasStyleData.autoSizeAdaptor
+ // this.canvasStyleData.autoSizeAdaptor = !this.canvasStyleData.autoSizeAdaptor
eventBus.$emit('componentSizeAdaptorChange')
},
showPageLineChange() {