From f23de7c959f2b848e2adc48b4c4b65b9f900a66c Mon Sep 17 00:00:00 2001 From: v-zhangjc9 Date: Mon, 12 May 2025 18:15:10 +0800 Subject: [PATCH] =?UTF-8?q?fix(web):=20=E4=BF=AE=E5=A4=8D=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E6=98=BE=E7=A4=BA=E4=B8=8D=E6=AD=A3=E7=A1=AE=E3=80=81?= =?UTF-8?q?logo=E6=98=BE=E7=A4=BA=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service-web/client/src/index.tsx | 4 ++-- service-web/client/src/pages/App.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/service-web/client/src/index.tsx b/service-web/client/src/index.tsx index f5c8a41..5ec21f3 100644 --- a/service-web/client/src/index.tsx +++ b/service-web/client/src/index.tsx @@ -1,10 +1,10 @@ import {createRoot} from 'react-dom/client' -import {createBrowserRouter, RouterProvider} from 'react-router' +import {createHashRouter, RouterProvider} from 'react-router' import './components/Registry.ts' import {routes} from './route.tsx' createRoot(document.getElementById('root')!).render( - , + , ) diff --git a/service-web/client/src/pages/App.tsx b/service-web/client/src/pages/App.tsx index c96299a..7dff31b 100644 --- a/service-web/client/src/pages/App.tsx +++ b/service-web/client/src/pages/App.tsx @@ -23,7 +23,7 @@ const App: React.FC = () => { colorTextRightActionsItem: '#dfdfdf', }, }} - logo={logo} + logo={logo} title="Hudi 服务总台" route={menus} location={{pathname: location.pathname}}