forked from github/dataease
fix(仪表板): 修复vuex中mobileLayoutStatus状态问题
This commit is contained in:
parent
695b9a41a7
commit
8cc8541bdb
@ -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
|
||||||
@ -171,12 +171,12 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.bg {
|
.bg {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100vh!important;
|
height: 100vh !important;
|
||||||
min-width: 200px;
|
min-width: 200px;
|
||||||
min-height: 300px;
|
min-height: 300px;
|
||||||
background-color: #f7f8fa;
|
background-color: #f7f8fa;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user