|
@@ -37,7 +37,7 @@ export default {
|
|
|
const first = matched[0];
|
|
|
|
|
|
if (!this.isDashboard(first)) {
|
|
|
- matched = [{ path: '/home', redirect: '/home', name: 'Home', meta: { title: '系统首页' } }].concat(matched);
|
|
|
+ matched = [{ path: '/home', redirect: '/home', name: 'home', meta: { title: '系统首页' } }].concat(matched);
|
|
|
}
|
|
|
|
|
|
this.levelList = matched.filter((item) => item.meta && item.meta.title && item.meta.breadcrumb !== false);
|
|
@@ -47,7 +47,7 @@ export default {
|
|
|
if (!name) {
|
|
|
return false;
|
|
|
}
|
|
|
- return name.trim().toLocaleLowerCase() === 'Home'.toLocaleLowerCase();
|
|
|
+ return name.trim().toLocaleLowerCase() === 'home'.toLocaleLowerCase();
|
|
|
},
|
|
|
pathCompile(path) {
|
|
|
// To solve this problem https://github.com/PanJiaChen/vue-element-admin/issues/561
|