This commit is contained in:
super_liu
2021-12-22 09:10:38 +08:00
parent 2afc2e0568
commit 32b021be7d
-2
View File
@@ -107,8 +107,6 @@ router.beforeEach(function (to, from, next) {
// 返回值为登录状态
/** 判断是不是在手机端操作 */
if (isMobile()) {
sessionStorage.removeItem("token")
localStorage.removeItem("token")
if ((token === null || token === '' ) && toName !== 'Login') {
if(toName !== 'phoneIndex'){
sessionStorage.removeItem("param");