From ed92145f9145b9190858e1cf4c2a722efe0e2ff0 Mon Sep 17 00:00:00 2001 From: Elysia Date: Sat, 14 Feb 2026 23:56:49 +0800 Subject: [PATCH] fix(app): floor download progress percentage --- src/components/AppDetailModal.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/AppDetailModal.vue b/src/components/AppDetailModal.vue index 93f8161d..7f1cebc6 100644 --- a/src/components/AppDetailModal.vue +++ b/src/components/AppDetailModal.vue @@ -243,7 +243,7 @@ const installBtnText = computed(() => { if (installFeedback.value) { const status = activeDownload.value?.status; if (status === "downloading") { - return `下载中 ${(activeDownload.value?.progress || 0) * 100}%`; + return `下载中 ${Math.floor((activeDownload.value?.progress || 0) * 100)}%`; } if (status === "installing") { return "安装中...";