feat: 添加注册页面,更新路由配置和表单验证逻辑
This commit is contained in:
@@ -1,13 +1,27 @@
|
||||
import type { RouteRecordRaw } from "vue-router";
|
||||
|
||||
const routes: Array<RouteRecordRaw> = [
|
||||
// {
|
||||
// path: "/auth",
|
||||
// component: () => import("@/views/auth/index.vue"),
|
||||
// children: [
|
||||
// {
|
||||
// path: "/auth/login",
|
||||
// component: () => import("@/views/auth/login/index.vue"),
|
||||
// },
|
||||
// {
|
||||
// path: "/auth/signup",
|
||||
// component: () => import("@/views/auth/signup/index.vue"),
|
||||
// },
|
||||
// ],
|
||||
// },
|
||||
{
|
||||
path: "/auth/login",
|
||||
component: () => import("@/views/auth/login/index.vue"),
|
||||
},
|
||||
{
|
||||
path: "/auth/signup",
|
||||
component: () => import("@/auth/components/signup/index.vue"),
|
||||
component: () => import("@/views/auth/signup/index.vue"),
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user