fix: 修复下载按钮显示条件,移除对 canInstall 和 isIOSSafari 的依赖

This commit is contained in:
2026-01-15 05:53:57 +07:00
parent b1c57cd62e
commit 4b187ca025

View File

@@ -31,7 +31,7 @@ const wasUninstalled = computed(() => {
// 显示下载按钮的条件
const shouldShowDownloadButton = computed(() => {
const result = platform === "browser" && !isInstalled.value && (canInstall.value || isIOSSafari);
const result = platform === "browser" && !isInstalled.value;
console.log("[Download Page] shouldShowDownloadButton:", result);
return result;
});