小屏幕默认收起侧边栏

pull/96/head
lin_xin 2018-05-24 20:51:00 +08:00
parent 25322e0bb0
commit debd824a69
1 changed files with 5 additions and 0 deletions

View File

@ -100,6 +100,11 @@
}
this.fullscreen = !this.fullscreen;
}
},
mounted(){
if(document.body.clientWidth < 1500){
this.collapseChage();
}
}
}
</script>