1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-09-06 01:09:48 +08:00
This commit is contained in:
Pan 2019-04-16 13:15:03 +08:00
parent da850a1ecc
commit 7c7f74d030

View File

@ -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)