fix(ui): 完善控制台列表并优化企业中心与个人操作

This commit is contained in:
zhanjunhao
2026-11-25 10:05:30 +08:00
parent dd4da99f1d
commit a532b860c8
51 changed files with 1736 additions and 1306 deletions
+7 -2
View File
@@ -11,7 +11,7 @@ import { isCenterTableScope, prepareCenterColumns } from './centerTablePolicy';
import './center-table.css';
const CenterTable = forwardRef(function CenterTable(
{ columns, className, scroll, style, ...props },
{ columns, className, scroll, style, minScrollableWidth, ...props },
ref,
) {
const { token } = theme.useToken();
@@ -33,7 +33,12 @@ const CenterTable = forwardRef(function CenterTable(
);
const prepared =
scoped && columns
? prepareCenterColumns(columns, width, measuredActionWidths)
? prepareCenterColumns(
columns,
width,
measuredActionWidths,
minScrollableWidth,
)
: columns;
const enabled = prepared !== columns;
useLayoutEffect(() => {