From 22abef940b76a9addbb24a0124f353d806f862d2 Mon Sep 17 00:00:00 2001 From: woody Date: Mon, 1 Sep 2025 09:10:40 +0800 Subject: [PATCH] fix(main): rm location redirect --- main.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.js b/main.js index 4ee2698..7291734 100644 --- a/main.js +++ b/main.js @@ -80,9 +80,9 @@ app.$router.afterEach((to, from) => { } const u = navigator.userAgent.toLowerCase() if (u.indexOf("like mac os x") < 0 || u.match(/MicroMessenger/i) != 'micromessenger') return - if (to.path !== global.location.pathname) { - location.assign(config.h5_addr + to.fullPath); - } + // if (to.path !== global.location.pathname) { + // location.assign(config.h5_addr + to.fullPath); + // } }) //#endif