fix: 修复 Pages 部署包上传报「请求超时,请稍后重试」

This commit is contained in:
ryan
2026-06-21 10:39:08 +08:00
parent b12a9b0185
commit 665dd09e11
5 changed files with 14 additions and 3 deletions
@@ -141,10 +141,10 @@ export function DeploymentUploadDialog({
{uploadProgress !== null ? (
<div className="space-y-1.5">
<div className="flex justify-between text-xs text-muted-foreground">
<span>上传进度</span>
<span>{uploadProgress}%</span>
<span>{uploadProgress >= 100 ? "服务端处理中" : "上传进度"}</span>
<span>{uploadProgress >= 100 ? "请稍候" : `${uploadProgress}%`}</span>
</div>
<Progress value={uploadProgress} />
<Progress value={uploadProgress >= 100 ? 100 : uploadProgress} />
</div>
) : null}