feat:app嵌套h5返回键

This commit is contained in:
LHY\18810
2025-03-16 12:10:53 +08:00
parent 4952201e77
commit a93505af74
4 changed files with 9 additions and 21 deletions

View File

@@ -33,7 +33,7 @@ router.beforeEach((to, from, next) => {
if (to.query.digitalYiliToken) {
utils.setSessionStorage('xToken', to.query.digitalYiliToken);
}
appBridge.setTitle(to.meta.title as string);
// appBridge.setTitle(to.meta.title as string);
// 添加 Android 返回按钮监听方法
window.onAndroidBack = () => {
if (routerCanGoBack()) {