refactor(redirect): 注释掉 redirect.vue 中的 setTimeout 代码块

- 将 setTimeout 代码块禁用自动跳转功能
-用注释标记包围起来,暂时 保留代码逻辑,以便未来可能的重新启用或参考
This commit is contained in:
陈昱达
2025-03-27 16:35:27 +08:00
parent c2b254a2f9
commit 5693fb5bdd

View File

@@ -45,13 +45,13 @@ function goBack() {
// });
// }
setTimeout(() => {
if (window.history.length > 1 && route.name !== 'home') {
router.go(-1);
} else {
appBridge.navigateBack();
}
}, 500);
// setTimeout(() => {
if (window.history.length > 1 && route.name !== 'home') {
router.go(-1);
} else {
appBridge.navigateBack();
}
// }, 500);
}
// 处理物理返回键