From 5c2b5de80ab0ef2e0a15fcba334cdc2b3869db3e Mon Sep 17 00:00:00 2001 From: Nixevol Date: Sun, 25 Oct 2026 08:28:20 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BB=BB=E5=8A=A1=E5=8D=A1=E7=89=87?= =?UTF-8?q?=E4=B8=8D=E5=86=8D=E9=87=8D=E5=A4=8D=E6=98=BE=E7=A4=BA=E7=8A=B6?= =?UTF-8?q?=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- desktop/src/features/download/DownloadManagerView.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/desktop/src/features/download/DownloadManagerView.vue b/desktop/src/features/download/DownloadManagerView.vue index c206bc7..8559c9c 100644 --- a/desktop/src/features/download/DownloadManagerView.vue +++ b/desktop/src/features/download/DownloadManagerView.vue @@ -89,6 +89,12 @@ function statusLabel(job: DownloadJob) { return statusText[job.status] || job.status; } +function noteText(job: DownloadJob) { + const text = job.message.trim(); + if (!text || text === statusLabel(job)) return ""; + return text; +} + function waitingToRead(job: DownloadJob) { return Boolean(job.wholeCity) && job.status === "queued"; } @@ -420,7 +426,7 @@ async function removeJob(job: DownloadJob, files: boolean) { />
{{ opened.id }}
{{ statusLabel(opened) }}
-
{{ opened.message || "—" }}
+
{{ noteText(opened) }}
{{ opened.network === "NR" ? "5G" : "4G" }}
{{ opened.cityName }}
{{ opened.month }}
@@ -547,7 +553,7 @@ async function removeJob(job: DownloadJob, files: boolean) { :processing="job.status === 'running'" />
- {{ job.message }} + {{ noteText(job) }} 失败 {{ job.failed }} · {{ formatSize(job.fileBytes) }}