no message
Former-commit-id: 1b2c250bfb5f3d55142d722cd953c2ab20b6dff0 [formerly 1b2c250bfb5f3d55142d722cd953c2ab20b6dff0 [formerly 1b2c250bfb5f3d55142d722cd953c2ab20b6dff0 [formerly 1b2c250bfb5f3d55142d722cd953c2ab20b6dff0 [formerly d63b60e1e15a4074e160e6dcca670abbe5785bb3 [formerly 8fb77b1b8b2e169dd6d71f1311e2032723a8e176]]]]] Former-commit-id: b753b7bee738a0f16d5d19996ce5d272a437c230 Former-commit-id: 3453563974f1a2d8f3a7ab4ef27a9d62712dc2aa Former-commit-id: 53f411ca82ff144df7f19a9baf134d34e2d3b5af [formerly 5eebb656e1b6f5f5c141a25f6d54730a6fec85f8] Former-commit-id: 58a05b8fbabcca334e9364b30a7c736f7a065b41 Former-commit-id: e9afe6c4e71d995ce8850cc0e66c6a00737ee3d2 Former-commit-id: 22698cc0799fda7256d0dfd4289b607c6049bfe6 Former-commit-id: 09eac266f601d6aa971f5eeb660541d7428c889d Former-commit-id: c3868ddf73083751c084af021e3fa6ad249a306a
This commit is contained in:
@@ -49,7 +49,8 @@ export default {
|
||||
'$route.matched': {
|
||||
handler (val) {
|
||||
const path = val[0].path
|
||||
this.menus = side.filter(menu => menu.path === path)
|
||||
const _side = side.filter(menu => menu.path === path)
|
||||
this.menus = _side.length > 0 ? _side[0].children : []
|
||||
},
|
||||
immediate: true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user