perf: publish change and panel to App

This commit is contained in:
2024-10-09 18:11:08 +08:00
parent 7747dcbea6
commit 6b91b62ab9
14 changed files with 347 additions and 40 deletions

View File

@@ -1,12 +1,15 @@
import { Navigate, Route, Routes } from 'react-router-dom';
import { List } from './edit/List';
import { Main } from './layouts';
import { UserList } from './edit/UserList';
export const App = () => {
return (
<Routes>
<Route element={<Main />}>
<Route path='/' element={<Navigate to='/org/edit/list' />}></Route>
<Route path='edit/list' element={<List />} />
<Route path='edit/user/:id' element={<UserList />} />
</Route>
</Routes>
);