From 910aec6cceddfa69850fe437fd20000cebb551a3 Mon Sep 17 00:00:00 2001 From: xiyidaiwa Date: Thu, 23 Jul 2026 18:41:19 +0800 Subject: [PATCH] =?UTF-8?q?fix(app):=20=E4=BF=AE=E5=A4=8D=E5=BA=94?= =?UTF-8?q?=E7=94=A8=E8=AE=A1=E6=95=B0=E7=BB=9F=E8=AE=A1=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将应用总数统计从 apps.value.length 改为 baseApps.value.length - 确保分类统计基于正确的基础应用数据 - 解决了应用过滤后计数不准确的问题 --- src/App.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.vue b/src/App.vue index 9144ed45..3c83aaa2 100644 --- a/src/App.vue +++ b/src/App.vue @@ -613,7 +613,7 @@ const categoryCounts = computed(() => { return { ...tabCounts, all: allCounts.all }; } - const counts: Record = { all: apps.value.length }; + const counts: Record = { all: baseApps.value.length }; sourceApps.forEach((app) => { if (!counts[app.category]) counts[app.category] = 0; counts[app.category]++;