mirror of
https://github.com/iczer/vue-antd-admin
synced 2025-04-06 04:00:06 +08:00
fix: linkage problem when menu collapsed #14
This commit is contained in:
parent
0ab1565fdf
commit
3e9e48565c
@ -148,7 +148,7 @@ export default {
|
|||||||
routes.forEach((item) => {
|
routes.forEach((item) => {
|
||||||
openKeys.push(item.path)
|
openKeys.push(item.path)
|
||||||
})
|
})
|
||||||
this.openKeys = openKeys
|
this.collapsed ? this.cachedOpenKeys = openKeys : this.openKeys = openKeys
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
render (h) {
|
render (h) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user