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() {
return {
canvasId: 'canvas-main',
dataLoading: false,
dataLoading: true,
backScreenShot: false,
mainHeight: '100vh!important',
shareUserId: null
@ -171,12 +171,12 @@ export default {
</script>
<style lang="scss" scoped>
.bg {
.bg {
width: 100%;
height: 100vh!important;
height: 100vh !important;
min-width: 200px;
min-height: 300px;
background-color: #f7f8fa;
}
}
</style>

View File

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