src/router/index.js
@@ -8,6 +8,7 @@ */ import { createWebHashHistory, createRouter } from 'vue-router' /* Layout */ import Layout from '@/layout' import Screen from '@/screen' import Flow from '@/screen/flow.vue' import Temp from '@/screen/temp.vue' @@ -36,7 +37,16 @@ { path: '/', hidden: true, redirect: '/flow' component: Layout, redirect: '/screen', children: [ { path: 'userCenter', component: () => import('@/views/userCenter.vue'), name: 'userCenter', meta: { title: '个人中心', icon: 'PhUserCircleFill', affix: true } }, ] }, { path: '/login',