fix: linkage problem when menu collapsed #14

master
iczer 6 years ago
parent 0ab1565fdf
commit 3e9e48565c
  1. 2
      src/components/menu/menu.js

@ -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…
Cancel
Save