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',