fix(ui): 完善控制台列表并优化企业中心与个人操作
This commit is contained in:
@@ -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(() => {
|
||||
|
||||
Reference in New Issue
Block a user