mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-09-06 01:09:48 +08:00
refine
This commit is contained in:
parent
da850a1ecc
commit
7c7f74d030
@ -32,7 +32,7 @@ export default {
|
||||
|
||||
const first = matched[0]
|
||||
if (first && first.name.trim().toLocaleLowerCase() !== 'Dashboard'.toLocaleLowerCase()) {
|
||||
matched = [{ path: '/dashboard', meta: { title: 'dashboard' }}].concat(matched)
|
||||
matched = [{ path: '/dashboard', meta: { title: 'Dashboard' }}].concat(matched)
|
||||
}
|
||||
|
||||
this.levelList = matched.filter(item => item.meta && item.meta.title && item.meta.breadcrumb !== false)
|
||||
|
Loading…
x
Reference in New Issue
Block a user