新增 src/shell/(AppShell/Topbar/SideMenu/TabBar/GlobalSearch/SettingsDrawer/theme.css) 和 src/components/ui/(Icon/Dialog/Drawer/Toast/Pagination), src/api/menu.ts 含 GET /api/menu + 404 降级; App.tsx 路由改为 AppShell <Outlet> 包裹,登录/待办/amis 渲染三页功能保持不变。 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
11 lines
237 B
TypeScript
11 lines
237 B
TypeScript
import { StrictMode } from 'react';
|
|
import { createRoot } from 'react-dom/client';
|
|
import './shell/theme.css';
|
|
import App from './App';
|
|
|
|
createRoot(document.getElementById('root')!).render(
|
|
<StrictMode>
|
|
<App />
|
|
</StrictMode>,
|
|
);
|