|
@ -380,14 +380,14 @@ const TableData = ({ route, dispatch, actions, collectData, setSetup, exhibition |
|
|
> |
|
|
> |
|
|
{(() => { |
|
|
{(() => { |
|
|
console.log(tableData); |
|
|
console.log(tableData); |
|
|
console.log(route == 'useAbnormal' || route == 'videoAbnormal' ? |
|
|
console.log((route == 'useAbnormal' || route == 'videoAbnormal') ? |
|
|
tableData.slice(query.page * query.limit, (query.page + 1) * query.limit) || [] |
|
|
(tableData?.slice(query.page * query.limit, (query.page + 1) * query.limit) || []) |
|
|
: tableData); |
|
|
: tableData); |
|
|
return <Table |
|
|
return <Table |
|
|
columns={exhibition} |
|
|
columns={exhibition} |
|
|
dataSource={ |
|
|
dataSource={ |
|
|
route == 'useAbnormal' || route == 'videoAbnormal' ? |
|
|
(route == 'useAbnormal' || route == 'videoAbnormal') ? |
|
|
tableData.slice(query.page * query.limit, (query.page + 1) * query.limit) || [] |
|
|
(tableData?.slice(query.page * query.limit, (query.page + 1) * query.limit) || []) |
|
|
: tableData |
|
|
: tableData |
|
|
} |
|
|
} |
|
|
bordered={false} |
|
|
bordered={false} |
|
|