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 9fcec97106
commit 4f33cfcc0e
25 changed files with 595 additions and 41 deletions
@@ -18,7 +18,8 @@ For commercial licensing, please contact support@quantumnous.com
*/
import React, { useState } from 'react';
import { Modal, Button, Input, Table, Tag, Typography, Select } from 'antd';
import Table from '../../../ui/CenterActionTable';
import { Modal, Button, Input, Tag, Typography, Select } from 'antd';
import { Search } from 'lucide-react';
import { copy, showError, showInfo, showSuccess } from '../../../../helpers';
import { MODEL_TABLE_PAGE_SIZE } from '../../../../constants';
@@ -19,7 +19,8 @@ For commercial licensing, please contact support@quantumnous.com
import TableEmpty from '../../common/table/TableEmpty';
import React, { useMemo, useState } from 'react';
import { Button as AntButton, Table as AntTable } from 'antd';
import AntTable from '../../ui/CenterActionTable';
import { Button as AntButton } from 'antd';
import { Modal, Typography } from '@/components/ui';
import {
Coins,