From 3015ff3cebb1b7a3e132e07e337aa10e9e18f32e Mon Sep 17 00:00:00 2001 From: fengchenchen Date: Fri, 15 Mar 2024 09:48:19 +0800 Subject: [PATCH] =?UTF-8?q?[add]=20=E9=BB=98=E8=AE=A4=E9=A1=B5=E8=BF=9B?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E8=AF=AD=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index ceddfeb..2d0b486 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -16,17 +16,19 @@ const routes = [ }, { path: '/', - name: 'home', - component: () => import('@/views/Home'), - meta: { - // 是否显示头部导航 - hasNavBar: true, - // 当前页标题(国际化的标题,对应$t('pageTitle.home')中的home,如果为空则不显示 - pageTitle: 'home', - // 是否显示返回 - hasBack: false - } + // name: 'home', + // component: () => import('@/views/Home'), + // meta: { + // // 是否显示头部导航 + // hasNavBar: true, + // // 当前页标题(国际化的标题,对应$t('pageTitle.home')中的home,如果为空则不显示 + // pageTitle: 'home', + // // 是否显示返回 + // hasBack: false + // } + redirect: 'NoMobile' }, + { path: '/myTodo', name: 'myTodo',