diff --git a/web/client/src/sections/means/containers/projectMeans.jsx b/web/client/src/sections/means/containers/projectMeans.jsx
index 66da006..56e8c78 100644
--- a/web/client/src/sections/means/containers/projectMeans.jsx
+++ b/web/client/src/sections/means/containers/projectMeans.jsx
@@ -165,7 +165,7 @@ const Rest = (props) => {
title: '文件名',
dataIndex: 'name',
key: 'name',
- render: (text) => {text},
+ render: (text) => text?.length > 30 ?
{text.slice(0,30)}...
: text
},
{
title: '文件大小',
@@ -377,23 +377,23 @@ const Rest = (props) => {
return { style: { background: '#FAFCFF' } }
}
}}
- // rowSelection={{
- // // selectedRowKeys: selected || [],
- // getCheckboxProps: record => ({
- // // disabled: record.confirmTime ? true : false,
- // // name: record.name,
- // }),
- // onSelect: (record, selected) => {
- // // console.log(`select row: ${selected}`, record);
- // },
- // // onSelectAll: (selected, selectedRows) => {
- // // console.log(`select all rows: ${selected}`, selectedRows);
- // // },
- // onChange: (selectedRowKeys, selectedRows) => {
- // // console.log(`selectedRowKeys: ${selectedRowKeys}`, 'selectedRows: ', selectedRows);
- // // setSelected(selectedRows?.map(v => v.id))
- // },
- // }}
+ // rowSelection={{
+ // // selectedRowKeys: selected || [],
+ // getCheckboxProps: record => ({
+ // // disabled: record.confirmTime ? true : false,
+ // // name: record.name,
+ // }),
+ // onSelect: (record, selected) => {
+ // // console.log(`select row: ${selected}`, record);
+ // },
+ // // onSelectAll: (selected, selectedRows) => {
+ // // console.log(`select all rows: ${selected}`, selectedRows);
+ // // },
+ // onChange: (selectedRowKeys, selectedRows) => {
+ // // console.log(`selectedRowKeys: ${selectedRowKeys}`, 'selectedRows: ', selectedRows);
+ // // setSelected(selectedRows?.map(v => v.id))
+ // },
+ // }}
/>