完善拉取公开仓库

This commit is contained in:
whyour
2022-05-17 00:42:18 +08:00
parent f1a51638a5
commit 4e7a5c637d
9 changed files with 75 additions and 47 deletions
+2 -2
View File
@@ -21,7 +21,7 @@ const columns = [
align: 'center' as const,
width: 50,
render: (text: string, record: any, index: number) => {
return <span style={{ cursor: 'text' }}>{index + 1} </span>;
return index + 1;
},
},
{
@@ -30,7 +30,7 @@ const columns = [
key: 'timestamp',
align: 'center' as const,
render: (text: string, record: any) => {
return <span>{new Date(record.timestamp).toLocaleString()}</span>;
return new Date(record.timestamp).toLocaleString();
},
},
{