feat: 添加路由拦截器/修复打包侧边栏图标失效问题

This commit is contained in:
landaiqing
2024-07-09 14:05:14 +08:00
parent d5d900c37f
commit 0fb5f89744
35 changed files with 735 additions and 1111 deletions

17
src/App.tsx Normal file
View 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;