修复top栏样式问题

This commit is contained in:
QM303176530
2020-05-01 18:10:45 +08:00
parent 113d59fdf9
commit 7dd0512e67
3 changed files with 152 additions and 143 deletions
+1 -4
View File
@@ -50,9 +50,7 @@ export default {
if(screenWidth<1000){
this.isCollapse = !this.isCollapse
}
this.$bus.on('totalCollapse', () => {
this.isCollapse = !this.isCollapse
})
this.$bus.on('collapse', (item) => {
this.isCollapse = item
})
@@ -64,7 +62,6 @@ export default {
}
},
beforeDestroy() {
this.$bus.off('totalCollapse')
this.$bus.off('collapse')
}
}