chore: resource list
This commit is contained in:
@@ -5,7 +5,9 @@ import useTableRowSelection from '@/hooks/use-table-row-selection';
|
||||
import useTableSort from '@/hooks/use-table-sort';
|
||||
import {
|
||||
DeleteOutlined,
|
||||
DownOutlined,
|
||||
PlusOutlined,
|
||||
RightOutlined,
|
||||
SyncOutlined,
|
||||
WechatWorkOutlined
|
||||
} from '@ant-design/icons';
|
||||
@@ -192,6 +194,17 @@ const Models: React.FC = () => {
|
||||
onShowSizeChange: handleShowSizeChange,
|
||||
onChange: handlePageChange
|
||||
}}
|
||||
expandable={{
|
||||
expandIcon: ({ expanded, onExpand, record }) => {
|
||||
return expanded ? (
|
||||
<DownOutlined onClick={(e) => onExpand(record, e)} />
|
||||
) : (
|
||||
<RightOutlined onClick={(e) => onExpand(record, e)} />
|
||||
);
|
||||
},
|
||||
expandedRowRender: (record) => <p style={{ margin: 0 }}>list</p>,
|
||||
rowExpandable: (record) => record.name !== 'Not Expandable'
|
||||
}}
|
||||
>
|
||||
<Column
|
||||
title="Model Name"
|
||||
|
||||
Reference in New Issue
Block a user