Commit c8e3c00d by 姜雷

Merge branch 'develop' into 'test'

跳转路由后收起顶部菜单 See merge request !130
parents e31b6c1e dbd2a435
......@@ -115,6 +115,11 @@ export default {
this.style = 'left: 0;';
}
},
watch: {
$route() {
this.toggleSubmenus(false);
},
},
methods: {
toggleSubmenus(visiable) {
this.showSubMenus = visiable;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment