feat: 重构用户管理页面,集成 msw mock,统一路径别名和 API 命名规范

This commit is contained in:
2026-05-15 15:44:27 +08:00
parent 790b6905ef
commit 311ce55fb7
19 changed files with 1307 additions and 40 deletions

View File

@@ -2,8 +2,8 @@ import { MenuFoldOutlined, MenuUnfoldOutlined } from '@ant-design/icons';
import { Layout, Menu } from 'antd';
import { useState } from 'react';
import { Outlet, useLocation, useNavigate } from 'react-router';
import { routes } from '../routes';
import { toMenuItems } from '../routes/utils';
import { routes } from '@/routes';
import { toMenuItems } from '@/routes/utils';
const { Header, Sider, Content } = Layout;