forked from github/dataease
fix(仪表板): 修复vuex中mobileLayoutStatus状态问题
This commit is contained in:
parent
695b9a41a7
commit
8cc8541bdb
@ -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>
|
||||
|
||||
|
@ -586,7 +586,7 @@ const data = {
|
||||
}
|
||||
})
|
||||
state.componentData = mainComponentData
|
||||
state.mobileLayoutStatus = !state.mobileLayoutStatus
|
||||
state.mobileLayoutStatus = true
|
||||
},
|
||||
setScrollAutoMove(state, offset) {
|
||||
state.scrollAutoMove = offset
|
||||
|
Loading…
Reference in New Issue
Block a user