diff --git a/src/layouts/redirect.vue b/src/layouts/redirect.vue index 32666e1..8c3621d 100644 --- a/src/layouts/redirect.vue +++ b/src/layouts/redirect.vue @@ -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); } // 处理物理返回键