fix(market): 1.修复模型超市 模糊搜索-模型名称异常的问题

feat(table): 2.新增三中心表格统一策略:

- 覆盖 `/user-center/*`、`/org/*`、`/console/*`,包含系统设置。
- 自动识别最后一列的创建、查看、编辑、测试、详情、删除、设置、弹窗、API 回调等交互。
- 操作列统一显示“操作”,固定在右侧。
- 根据按钮和文字实际宽度测量,保持操作文字单行显示。
- 非操作宽表自动固定右侧末 4 / 3 / 2 / 1 列。
- 保留 Ant Design 官方横向滚动行为,不隐藏滚动条。
This commit is contained in:
zhanjunhao
2026-11-17 10:10:28 +08:00
parent 93128a77d3
commit 34a7eca5c7
25 changed files with 595 additions and 41 deletions
+2 -10
View File
@@ -23,16 +23,8 @@ import {
RefreshCw as ActionRefreshCw,
} from '@/components/common/icons/ActionIcons';
import React, { useState, useEffect, useCallback, useMemo } from 'react';
import {
Empty,
Spin,
Table,
Button,
Modal,
Tooltip,
Statistic,
theme,
} from 'antd';
import Table from '../../components/ui/CenterActionTable';
import { Empty, Spin, Button, Modal, Tooltip, Statistic, theme } from 'antd';
import { Server, ChevronRight, Clock } from 'lucide-react';
import { useTranslation } from 'react-i18next';
import { API, showError } from '../../helpers';