update pay ui
This commit is contained in:
@@ -7,6 +7,9 @@ import { Routes, Route, Navigate } from 'react-router-dom';
|
||||
// 路由配置
|
||||
import { getMainLayoutRoutes, getStandaloneRoutes } from './routeConfig';
|
||||
|
||||
// Landing 页面(重定向到静态 landing.html)
|
||||
import Landing from '@views/Landing';
|
||||
|
||||
// 布局组件
|
||||
import MainLayout from '@layouts/MainLayout';
|
||||
|
||||
@@ -51,8 +54,8 @@ export function AppRoutes() {
|
||||
{/* 独立路由 - 无布局(如登录页)*/}
|
||||
{standaloneRoutes.map(renderRoute)}
|
||||
|
||||
{/* 默认路由 - 重定向到首页 */}
|
||||
<Route path="/" element={<Navigate to="/home" replace />} />
|
||||
{/* 默认路由 - 显示 Landing 页面(跳转到静态 landing.html) */}
|
||||
<Route path="/" element={<Landing />} />
|
||||
|
||||
{/* 404 页面 - 捕获所有未匹配的路由 */}
|
||||
<Route path="*" element={<Navigate to="/home" replace />} />
|
||||
|
||||
Reference in New Issue
Block a user