feat: There is no way the, weblink 免登陆

This commit is contained in:
super_liu
2022-06-09 11:55:33 +08:00
parent d866424f2e
commit 82441268a1
5 changed files with 25 additions and 47 deletions
-2
View File
@@ -1,5 +1,4 @@
import '@babel/polyfill'
import Es6Promise from 'es6-promise'
require('es6-promise').polyfill();
require('es6-promise/auto');
import Vue from 'vue'
@@ -65,7 +64,6 @@ import VConsole from 'vuex'
import isMobile from "./store/isMobile";
// 路由拦截
router.beforeEach(function (to, from, next) {
let fromName = from.name
if(fromName === undefined || fromName === null){
window.sessionStorage.clear()