This commit is contained in:
yuezhihang
2022-06-20 17:02:39 +08:00
+2
View File
@@ -168,6 +168,8 @@ router.beforeEach(function (to, from, next) {
if ((token === null || token === '' ) && toName !== 'Login') {
if(toName !== 'phoneIndex'){
if(toName === 'phoneHome'){
// 手机端 首页 首次进入系统 清除 缓存, 防止 跳转 oa 的页面, 问题追溯 #55852
window.sessionStorage.clear()
next('/loginVerifyPhone')
}else {
if(fromName === 'phoneHome'){