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:
qiubaishen
2026-11-10 12:48:02 +08:00
parent 61294dc597
commit 7025e3f9b4
30 changed files with 201 additions and 180 deletions
@@ -24,7 +24,7 @@ import React, {
useRef,
useState,
} from 'react';
import { Button, Modal, Spin } from '@douyinfe/semi-ui';
import { Button, Modal, Spin } from '@/components/ui';
import {
Clapperboard,
Columns2,
@@ -531,7 +531,7 @@ const WorkFeed = ({
Modal.confirm({
title: t('删除作品'),
content: t('删除后不可恢复,确定删除这个作品吗?'),
okButtonProps: { type: 'danger' },
okButtonProps: { danger: true },
okText: t('删除'),
cancelText: t('取消'),
onOk: async () => {