mirror of
https://gitee.com/y_project/RuoYi-Vue.git
synced 2025-12-24 06:16:40 +08:00
开启TopNav没有子菜单情况隐藏侧边栏
This commit is contained in:
@ -108,6 +108,7 @@ export default {
|
||||
value: val
|
||||
})
|
||||
if (!val) {
|
||||
this.$store.dispatch('app/toggleSideBarHide', false);
|
||||
this.$store.commit("SET_SIDEBAR_ROUTERS", this.$store.state.permission.defaultRoutes);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user