From 83fbb8a2da859e1719b4ba81d8a3ff0595cea95c Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期五, 19 四月 2024 15:46:50 +0800
Subject: [PATCH] #
---
src/router/index.jsx | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/router/index.jsx b/src/router/index.jsx
index 738bd08..dc99047 100644
--- a/src/router/index.jsx
+++ b/src/router/index.jsx
@@ -2,6 +2,8 @@
import App from '@/App'
import NotFound from '@/pages/not-found'
+import Base from '@/pages/base'
+import Text from '@/pages/text'
// createBrowserRouter -> history
// createHashRouter -> hash (#)
@@ -9,11 +11,11 @@
const router = createBrowserRouter([
{
path: '/',
- element: <App />,
+ element: <Base />,
},
{
path: '*',
- element: <NotFound />
+ element: <Text />
}
])
--
Gitblit v1.9.1