Merge pull request #4106 from dataease/pr@dev@fix_mobile

fix(仪表板): 修复vuex中mobileLayoutStatus状态问题
This commit is contained in:
王嘉豪 2022-12-15 17:10:17 +08:00 committed by GitHub
commit bf63d3a546
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 {
width: 100%;
height: 100vh!important;
min-width: 200px;
min-height: 300px;
background-color: #f7f8fa;
}
.bg {
width: 100%;
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