fix: 封装header

This commit is contained in:
MTrun
2021-12-16 20:08:05 +08:00
parent 884dc57ee4
commit 7f67f482da
8 changed files with 49 additions and 15 deletions
+3 -2
View File
@@ -5,13 +5,14 @@ import { createRouterGuards } from './router-guards'
import { PageEnum } from '@/enums/pageEnum'
import modules from '@/router/modules'
import { HttpErrorPage, LoginRoute } from '@/router/base'
import { Layout } from '@/router/constant'
const RootRoute: Array<RouteRecordRaw> = [
{
path: '/',
name: 'Root',
redirect: PageEnum.BASE_HOME_NAME,
component: () => import('@/app.vue'),
redirect: PageEnum.BASE_HOME,
component: Layout,
meta: {
title: 'Root',
},