From 8cc8541bdb4c46c44caa4b57b7c4f28a01d84582 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Thu, 15 Dec 2022 17:05:48 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8Dvuex=E4=B8=ADmobileLayoutStatus=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../canvas/components/editor/PreviewEject.vue | 16 ++++++++-------- frontend/src/store/index.js | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/frontend/src/components/canvas/components/editor/PreviewEject.vue b/frontend/src/components/canvas/components/editor/PreviewEject.vue index 3595c0c13d..e53a938d25 100644 --- a/frontend/src/components/canvas/components/editor/PreviewEject.vue +++ b/frontend/src/components/canvas/components/editor/PreviewEject.vue @@ -29,7 +29,7 @@ export default { data() { return { canvasId: 'canvas-main', - dataLoading: false, + dataLoading: true, backScreenShot: false, mainHeight: '100vh!important', shareUserId: null @@ -171,12 +171,12 @@ export default { diff --git a/frontend/src/store/index.js b/frontend/src/store/index.js index 8a8b8a015a..52dae89a39 100644 --- a/frontend/src/store/index.js +++ b/frontend/src/store/index.js @@ -586,7 +586,7 @@ const data = { } }) state.componentData = mainComponentData - state.mobileLayoutStatus = !state.mobileLayoutStatus + state.mobileLayoutStatus = true }, setScrollAutoMove(state, offset) { state.scrollAutoMove = offset