feat: 添加用户管理

This commit is contained in:
2024-09-28 16:44:19 +08:00
parent 7e12cbdefc
commit 77485b34c0
3 changed files with 109 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
import { Navigate, Route, Routes } from 'react-router-dom';
import { List } from './edit/List';
import { Main } from './layouts';
import { Login } from './login/Login';
export const App = () => {
return (
<Routes>
@@ -8,7 +9,7 @@ export const App = () => {
<Route path='/' element={<Navigate to='/user/edit/list' />}></Route>
<Route path='edit/list' element={<List />} />
</Route>
<Route path='login' element={<Login />} />
</Routes>
);
};