feat: There is no way the, bug #55852

This commit is contained in:
396572590@qq.com
2022-06-20 17:01:29 +08:00
parent 08d85bd644
commit 5324e2e884
+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'){