diff --git a/src/components/Breadcrumb/index.vue b/src/components/Breadcrumb/index.vue index 6c39c88..203ec6d 100644 --- a/src/components/Breadcrumb/index.vue +++ b/src/components/Breadcrumb/index.vue @@ -38,7 +38,7 @@ export default { const first = matched[0] if (!this.isDashboard(first)) { - matched = [{ path: '/dashboard', meta: { title: '首页' }}].concat( + matched = [{ path: '/home', meta: { title: '首页' }}].concat( matched ) } @@ -53,7 +53,7 @@ export default { return false } return ( - name.trim().toLocaleLowerCase() === 'Dashboard'.toLocaleLowerCase() + name.trim().toLocaleLowerCase() === 'Home'.toLocaleLowerCase() ) }, pathCompile(path) { diff --git a/src/components/Dec/index.vue b/src/components/Dec/index.vue index e8de41c..e093737 100644 --- a/src/components/Dec/index.vue +++ b/src/components/Dec/index.vue @@ -7,7 +7,12 @@ @@ -179,7 +198,7 @@ export default {