fix(仪表板): 修复vuex中mobileLayoutStatus状态问题

This commit is contained in:
wangjiahao 2022-12-15 17:05:48 +08:00
parent 695b9a41a7
commit 8cc8541bdb
2 changed files with 9 additions and 9 deletions

View File

@ -29,7 +29,7 @@ export default {
data() { data() {
return { return {
canvasId: 'canvas-main', canvasId: 'canvas-main',
dataLoading: false, dataLoading: true,
backScreenShot: false, backScreenShot: false,
mainHeight: '100vh!important', mainHeight: '100vh!important',
shareUserId: null shareUserId: null

View File

@ -586,7 +586,7 @@ const data = {
} }
}) })
state.componentData = mainComponentData state.componentData = mainComponentData
state.mobileLayoutStatus = !state.mobileLayoutStatus state.mobileLayoutStatus = true
}, },
setScrollAutoMove(state, offset) { setScrollAutoMove(state, offset) {
state.scrollAutoMove = offset state.scrollAutoMove = offset