From f23bb34bc47970fb1f32235c6686b0a1e1ef04fa Mon Sep 17 00:00:00 2001 From: Double-_-Z <2492419643@qq.com> Date: Sun, 17 Aug 2025 17:38:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E9=A6=96=E9=A1=B5=EF=BC=8C?= =?UTF-8?q?=E5=8E=BB=E6=8E=89=E7=99=BB=E5=BD=95=E9=BB=98=E8=AE=A4=E8=B4=A6?= =?UTF-8?q?=E5=8F=B7=E5=AF=86=E7=A0=81=EF=BC=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Breadcrumb/index.vue | 6 +++--- src/router/routers.js | 14 +++++++------- src/views/aircraft/index.vue | 1 + src/views/login.vue | 6 ++++-- 4 files changed, 15 insertions(+), 12 deletions(-) diff --git a/src/components/Breadcrumb/index.vue b/src/components/Breadcrumb/index.vue index 204ea59..dd2d97b 100644 --- a/src/components/Breadcrumb/index.vue +++ b/src/components/Breadcrumb/index.vue @@ -36,9 +36,9 @@ export default { let matched = this.$route.matched.filter(item => item.meta && item.meta.title) const first = matched[0] - if (!this.isDashboard(first)) { - matched = [{ path: '/dashboard', meta: { title: '首页' }}].concat(matched) - } + // if (!this.isDashboard(first)) { + // matched = [{ path: '/dashboard', meta: { title: '首页' }}].concat(matched) + // } this.levelList = matched.filter(item => item.meta && item.meta.title && item.meta.breadcrumb !== false) }, diff --git a/src/router/routers.js b/src/router/routers.js index cbebe79..f7e583f 100644 --- a/src/router/routers.js +++ b/src/router/routers.js @@ -35,14 +35,14 @@ export const constantRouterMap = [ { path: '/', component: Layout, - redirect: '/dashboard', + // redirect: '/dashboard', children: [ - { - path: 'dashboard', - component: (resolve) => require(['@/views/home'], resolve), - name: 'Dashboard', - meta: { title: '首页', icon: 'index', affix: true, noCache: true } - } + // { + // path: 'dashboard', + // component: (resolve) => require(['@/views/home'], resolve), + // name: 'Dashboard', + // meta: { title: '首页', icon: 'index', affix: true, noCache: true } + // } ] }, { diff --git a/src/views/aircraft/index.vue b/src/views/aircraft/index.vue index b3f4a9f..8b56655 100644 --- a/src/views/aircraft/index.vue +++ b/src/views/aircraft/index.vue @@ -32,6 +32,7 @@ size="small" style="width: 200px" class="filter-item" + clearable >