refactor(ui): 将合并引入的 Semi 组件迁移到 Ant Design 适配层
- 创作台、WeyAi 设置、OrgResolver 共 23 个文件改从 @/components/ui 引入 - Popover 改用 open/trigger='click'/onOpenChange,移除 .semi-portal 判定 - Dropdown.Title / Item active 改为 menu group / selectedKeys - Slider tooltip.formatter、Checkbox.Group、TagInput maxCount、DatePicker 取 Date 参数 - --semi-color-* 改为 --ui-color-*,遮罩色用 antd 默认,.semi-* 选择器改为 .ant-* - docs/UI_MIGRATION.md 记录组件映射、视觉差异与风险
This commit is contained in:
@@ -33,7 +33,7 @@ import {
|
||||
Spin,
|
||||
Switch,
|
||||
Typography,
|
||||
} from '@douyinfe/semi-ui';
|
||||
} from '@/components/ui';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { API, showError, showSuccess } from '../../../helpers';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user