fix: api key table list sort
This commit is contained in:
@@ -6,6 +6,7 @@ import { SealColumnProps } from '../types';
|
||||
|
||||
const SealColumn: React.FC<SealColumnProps> = (props) => {
|
||||
const row: Record<string, any> = useContext(RowContext);
|
||||
console.log('seal column====', row);
|
||||
const { dataIndex, render, align } = props;
|
||||
return (
|
||||
<div
|
||||
|
||||
@@ -43,7 +43,14 @@ const TableRow: React.FC<
|
||||
const childrenDataRef = useRef<any[]>([]);
|
||||
childrenDataRef.current = childrenData;
|
||||
|
||||
console.log('table row====', childrenData, record.name, firstLoad, expanded);
|
||||
console.log(
|
||||
'table row====',
|
||||
record,
|
||||
childrenData,
|
||||
record.name,
|
||||
firstLoad,
|
||||
expanded
|
||||
);
|
||||
const { updateChunkedList, cacheDataListRef } = useUpdateChunkedList({
|
||||
dataList: childrenData,
|
||||
setDataList: setChildrenData
|
||||
|
||||
Reference in New Issue
Block a user