feat:new
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user