feat: 添加注册页面,更新路由配置和表单验证逻辑

This commit is contained in:
2025-12-20 21:56:36 +07:00
parent e8278fa957
commit 2e42bbc278
5 changed files with 63 additions and 5 deletions

View File

@@ -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"),
},
];