添加获取价格响应异常显示loading & 时间显示到秒

This commit is contained in:
Eamon-meng
2026-05-12 16:15:02 +08:00
parent 84a5e27c05
commit 670961c17d
8 changed files with 129 additions and 102 deletions

View File

@@ -427,7 +427,7 @@ function SelectResource() {
<div className="flex justify-between gap-2 text-xs text-weak">
<span>
{format(resource.short.expire_at, 'yyyy-MM-dd HH:mm')}
{format(resource.short.expire_at, 'yyyy-MM-dd HH:mm:ss')}
</span>
<span>{intlFormatDistance(resource.short.expire_at, new Date())}</span>
</div>
@@ -469,7 +469,7 @@ function SelectResource() {
<div className="flex justify-between gap-2 text-xs text-weak">
<span>
{format(resource.long.expire_at, 'yyyy-MM-dd HH:mm')}
{format(resource.long.expire_at, 'yyyy-MM-dd HH:mm:ss')}
</span>
<span>{intlFormatDistance(resource.long.expire_at, new Date())}</span>
</div>