From b31eef97c2d807c6cc5c620dfe3eb01b4440e924 Mon Sep 17 00:00:00 2001 From: liufumingren Date: Wed, 7 Oct 2026 05:04:30 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E4=BB=AA=E8=A1=A8=E7=9B=98):=20PDA=20?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E4=BF=A1=E6=81=AF=E5=AD=97=E6=AE=B5=E5=AF=B9?= =?UTF-8?q?=E9=BD=90=20latest.json?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - PdaVersionInfo 改为 { version, file, url, sha256, publishedAtUtc } - 模板取 publishedAtUtc / url(原 publishedAt / downloadUrl 已不存在) --- src/views/dashboard/components/AppDownload.vue | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/src/views/dashboard/components/AppDownload.vue b/src/views/dashboard/components/AppDownload.vue index eb3f3af5..cda0c969 100644 --- a/src/views/dashboard/components/AppDownload.vue +++ b/src/views/dashboard/components/AppDownload.vue @@ -15,11 +15,11 @@
WMS PDA端
V {{ pdaData.version }}
-
{{ formatDate(pdaData.publishedAt) }}
+
{{ formatDate(pdaData.publishedAtUtc) }}
获取版本信息失败
- + 下载
@@ -116,13 +116,16 @@ import dayjs from 'dayjs' import axios from 'axios' import QRCode from 'qrcode' +/** + * PDA(WMS PDA 端)版本信息 + * 字段与 `pda/latest.json` 保持一致:{ version, file, url, sha256, publishedAtUtc } + */ interface PdaVersionInfo { version: string - versionName: string - downloadUrl: string - fileName: string - forceUpdate: boolean - publishedAt: string + file: string + url: string + sha256?: string + publishedAtUtc: string } interface PrintServerVersionInfo {