mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-04-21 21:49:55 +08:00
@@ -1,30 +1,37 @@
|
||||
/**
|
||||
* @file router modules user.ts
|
||||
* @description user 路由模块
|
||||
* @author BTMuli <bt-muli@outlook.com>
|
||||
* @since Alpha v0.2.2
|
||||
* @author BTMuli<bt-muli@outlook.com>
|
||||
* @since Alpha v0.2.0
|
||||
*/
|
||||
|
||||
// user main
|
||||
import Abyss from "../../pages/User/Abyss.vue";
|
||||
import Characters from "../../pages/User/Characters.vue";
|
||||
import Gacha from "../../pages/User/Gacha.vue";
|
||||
import Record from "../../pages/User/Record.vue";
|
||||
// user sub
|
||||
|
||||
const userRoutes = [
|
||||
{
|
||||
path: "/user/abyss",
|
||||
name: "深渊记录",
|
||||
component: async () => await import("../../pages/User/Abyss.vue"),
|
||||
component: Abyss,
|
||||
},
|
||||
{
|
||||
path: "/user/characters",
|
||||
name: "我的角色",
|
||||
component: async () => await import("../../pages/User/Characters.vue"),
|
||||
component: Characters,
|
||||
},
|
||||
{
|
||||
path: "/user/gacha",
|
||||
name: "祈愿记录",
|
||||
component: async () => await import("../../pages/User/Gacha.vue"),
|
||||
component: Gacha,
|
||||
},
|
||||
{
|
||||
path: "/user/record",
|
||||
name: "原神战绩",
|
||||
component: async () => await import("../../pages/User/Record.vue"),
|
||||
component: Record,
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user