fix: target model text overflow

This commit is contained in:
jialin
2026-02-10 17:29:57 +08:00
parent c3d5234710
commit 15d635322b
7 changed files with 173 additions and 78 deletions
@@ -21,8 +21,8 @@ const ProviderModels: React.FC<ProviderModelProps> = ({ dataList }) => {
const intl = useIntl();
const head12Items = dataList.slice(0, 8);
const restItems = dataList.slice(8);
const head12Items = dataList.slice(0, 4);
const restItems = dataList.slice(4);
const renderModels = (dataList: ProviderModel[]) => {
return (
+2 -2
View File
@@ -161,14 +161,14 @@ const MaasProvider: React.FC = () => {
<ConfigProvider renderEmpty={renderEmpty}>
<Table
rowKey="id"
tableLayout="auto"
tableLayout="fixed"
sortDirections={TABLE_SORT_DIRECTIONS}
showSorterTooltip={false}
dataSource={dataSource.dataList}
loading={dataSource.loading}
rowSelection={rowSelection}
columns={columns}
scroll={{ x: true }}
scroll={{ x: 900 }}
pagination={{
showSizeChanger: true,
pageSize: queryParams.perPage,