From ec354849f3cff54bb3dc978310145fccc6856b70 Mon Sep 17 00:00:00 2001 From: super_liu <396572590@qq.com> Date: Tue, 21 Dec 2021 21:58:48 +0800 Subject: [PATCH] feat: There is no way the, --- src/main.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.js b/src/main.js index b4b8f57ad..dd100ae16 100644 --- a/src/main.js +++ b/src/main.js @@ -109,6 +109,7 @@ router.beforeEach(function (to, from, next) { if (isMobile()) { if ((token === null || token === '' ) && toName !== 'Login') { if(toName !== 'phoneIndex'){ + sessionStorage.removeItem("param"); sessionStorage.setItem('param',JSON.stringify(param4)) next('/phoneIndex') }else {