From 7214c885af56b013c9d27b2cff6eedb0e11aacaf Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期日, 05 五月 2024 09:11:07 +0800 Subject: [PATCH] # --- src/router/index.jsx | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/router/index.jsx b/src/router/index.jsx index dc99047..2e05cce 100644 --- a/src/router/index.jsx +++ b/src/router/index.jsx @@ -2,8 +2,7 @@ import App from '@/App' import NotFound from '@/pages/not-found' -import Base from '@/pages/base' -import Text from '@/pages/text' +import Fiber from '@/pages/fiber' // createBrowserRouter -> history // createHashRouter -> hash (#) @@ -11,11 +10,11 @@ const router = createBrowserRouter([ { path: '/', - element: <Base />, + element: <Fiber />, }, { path: '*', - element: <Text /> + element: <NotFound /> } ]) -- Gitblit v1.9.1