4
0
mirror of https://github.com/iczer/vue-antd-admin.git synced 2025-04-06 03:57:44 +08:00

fix: linkage problem when menu collapsed #14

This commit is contained in:
iczer 2018-08-15 19:29:42 +08:00
parent 0ab1565fdf
commit 3e9e48565c

View File

@ -148,7 +148,7 @@ export default {
routes.forEach((item) => {
openKeys.push(item.path)
})
this.openKeys = openKeys
this.collapsed ? this.cachedOpenKeys = openKeys : this.openKeys = openKeys
}
},
render (h) {