重新计算价格显示

This commit is contained in:
Eamon-meng
2026-03-30 13:11:40 +08:00
parent 01c4afd209
commit e27869fb4a
10 changed files with 53 additions and 22 deletions

View File

@@ -165,7 +165,7 @@ export default function ResourceList({resourceType}: ResourceListProps) {
const live = resourceKey === 'long'
? (row.original as Resource<2>).long.live
: (row.original as Resource<1>).short.live
return <span>{isLong ? `${live}小时` : `${live / 60}分钟`}</span>
return <span>{isLong ? `${live}小时` : `${live}分钟`}</span>
},
},
{