From 43a64acc1297d873dc107412b560c043b67656f5 Mon Sep 17 00:00:00 2001 From: Timi Date: Wed, 18 Nov 2026 10:51:48 +0800 Subject: [PATCH] chore(system): unlimit update note --- src/pages/setting/AppUpdate.vue | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/pages/setting/AppUpdate.vue b/src/pages/setting/AppUpdate.vue index a9a9efc..f76cdaf 100644 --- a/src/pages/setting/AppUpdate.vue +++ b/src/pages/setting/AppUpdate.vue @@ -214,9 +214,6 @@ const updateHint = computed(() => { // ---------- 更新日志 ---------- -/** web 端只展示最近几个版本 */ -const WEB_NOTE_LIMIT = 3; - const noteList = ref([]); /** 有更新时展示区间日志,已是最新时展示最近几个版本 */ @@ -232,8 +229,7 @@ async function loadNotes(): Promise { platform: Capacitor.getPlatform(), channel: "stable" }); - const list = result?.notes ?? []; - noteList.value = updateSupported ? list : list.slice(0, WEB_NOTE_LIMIT); + noteList.value = result?.notes ?? []; } catch { // 日志不是关键路径,失败时安静降级,不弹错误 noteList.value = [];