// eslint-disable-next-line import { UserLayout, BasicLayout, RouteView, BlankLayout, PageView } from '@/components/layouts' export const asyncRouterMap = [ { path: '/', name: 'MenuIndex.vue', component: BasicLayout, meta: { title: '首页' }, redirect: '/dashboard/workplace', children: [ ] }, { path: '*', redirect: '/404', hidden: true } ] /** * 基础路由 * @type { *[] } */ export const constantRouterMap = [ { path: '/user/login', name: 'login', component: () => import(/* webpackChunkName: "user" */ '@/login/index') }, { path: '/404', name: '404', component: () => import(/* webpackChunkName: "fail" */ '@/views/system/404') }, ]