feat: There is no way the, weblink 免登陆
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user