修改ios跳转逻辑

This commit is contained in:
Dragon
2024-03-20 14:09:26 +08:00
parent 9a30334f5d
commit 3befdb2473

View File

@@ -98,9 +98,9 @@ function isAppInstalled(scheme) {
// 尝试打开应用
window.location.href = scheme;
// 如果应用打开则在500毫秒后捕获超时错误
setTimeout(() => {
window.location.href = 'https://apps.apple.com/app/id6446155565';
}, 500);
// setTimeout(() => {
// window.location.href = 'https://apps.apple.com/app/id6446155565';
// }, 500);
// 应用可能打开,也可能没有打开,所以这里不返回结果