首次提交

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,70 @@
import homePageRoutes from "./homePageRoutes"
// 系统路由
const routes = [
{
name: "layout",
path: "/",
component: () => import("@/layout/index.vue"),
redirect: "dashboard",
children: homePageRoutes
},
// 该路由不知道干嘛
{
name: "formLayout",
path: "/formLayout",
component: () => import("@/layout/index.vue"),
redirect: "openForm",
children: [
{
name: "openForm",
path: "/openForm/:id",
meta: {
title: "公共表单",
type: "M"
},
component: () => import("@/layout/form.vue")
}
]
},
{
name: "login",
path: "/login",
component: () => import("@/views/login.vue"),
meta: { title: "登录" }
},
// 不知道这个路由怎么进去
{
name: "mineDoc",
path: "/mineDoc",
component: () => import("@/views/mineDoc/index.vue"),
meta: { title: "接口文档" },
children: [
{
path: "/interfaceList",
name: "interfaceList",
meta: { title: "接口列表" },
component: () => import("@/views/mineDoc/page/interfaceList.vue")
},
{
path: "/interfaceCode",
name: "interfaceCode",
meta: { title: "代码释义" },
component: () => import("@/views/mineDoc/page/interfaceCode.vue")
},
{
path: "/signature",
name: "signature",
meta: { title: "签名算法" },
component: () => import("@/views/mineDoc/page/signature.vue")
}
]
},
{
path: "/:pathMatch(.*)*",
hidden: true,
meta: { title: "访问的页面不存在" },
component: () => import("@/layout/404.vue")
}
]
export default routes