chore: custom table sort

This commit is contained in:
jialin
2024-07-16 18:13:34 +08:00
parent a27fa9d56c
commit b05595f84b
8 changed files with 127 additions and 18 deletions
+1 -1
View File
@@ -137,7 +137,7 @@ const GPUList: React.FC = () => {
dataIndex="temperature"
key="Temperature"
render={(text, record: GPUDeviceItem) => {
return <span>{_.round(text, 1)}</span>;
return <span>{text ? _.round(text, 1) : '-'}</span>;
}}
/>
<Column