feat(auth): 增加 PC 注册页并支持本地 Mock 短信验证码
This commit is contained in:
@@ -108,6 +108,9 @@ const ChatPage = lazy(() =>
|
||||
const LoginPage = lazy(() =>
|
||||
import('@/features/auth/LoginPage').then(module => ({ default: module.LoginPage }))
|
||||
)
|
||||
const RegisterPage = lazy(() =>
|
||||
import('@/features/auth/RegisterPage').then(module => ({ default: module.RegisterPage }))
|
||||
)
|
||||
const MobileLayout = lazy(() =>
|
||||
import('@/layouts/MobileLayout').then(module => ({ default: module.MobileLayout }))
|
||||
)
|
||||
@@ -522,6 +525,7 @@ export function AppRouter() {
|
||||
</Route>
|
||||
|
||||
<Route path="/login" element={<LoginPage />} />
|
||||
<Route path="/register" element={<RegisterPage />} />
|
||||
<Route path="/i/:code" element={<InviteLandingPage />} />
|
||||
<Route path="/m/login" element={<LoginPage />} />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user