feat: 添加路由拦截器/修复打包侧边栏图标失效问题
This commit is contained in:
17
src/App.tsx
Normal file
17
src/App.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
/** @format */
|
||||
|
||||
import { BrowserRouter } from "react-router-dom";
|
||||
import GetRouter from "@/router/getRouter.tsx";
|
||||
import AuthRoute from "@/router/useAuth.tsx";
|
||||
|
||||
const App = () => {
|
||||
return (
|
||||
<BrowserRouter>
|
||||
<AuthRoute>
|
||||
<GetRouter />
|
||||
</AuthRoute>
|
||||
</BrowserRouter>
|
||||
);
|
||||
};
|
||||
|
||||
export default App;
|
Reference in New Issue
Block a user