首次提交

This commit is contained in:
2023-06-04 20:01:58 +08:00
parent 00c64c53bb
commit 587f078d21
560 changed files with 106725 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
import { REDIRECT_ROUTE_NAME } from "@/router/constants"
/**
* @description: 返回import("@/layout/default-layout.vue")
* @type: Promise对象
*/
export const DEFAULT_LAYOUT = () => import("@/layout/default-layout.vue")
export const REDIRECT_MAIN = {
path: "/redirect",
name: "redirectWrapper",
component: DEFAULT_LAYOUT, // () => import("@/layout/default-layout.vue")
meta: {
requiresAuth: true,
hideInMenu: true
},
children: [
{
path: "/redirect/:path",
name: REDIRECT_ROUTE_NAME, // 'Redirect'
component: () => import("@/views/redirect/index.vue"),
meta: {
requiresAuth: true,
hideInMenu: true
}
}
]
}
export const NOT_FOUND_ROUTE = {
path: "/:pathMatch(.*)*",
name: "notFound",
component: () => import("@/views/not-found/index.vue")
}