因为登陆方式是用域登陆的方式,就是我请求后台接口,然后我要拿到地址栏的token,window.location.href跳到第三方网址,第三方重定向跳到我这页面来,因为全程有token,要去掉token
http://mqs07/xmglxt/?token=c03bfbdf6ec740e7ba263fcdd6480620#/要改成http://mqs07/xmglxt/#/
在拿到token以后运行这几句代码
var stateObject = {}
var title = 'Wow Title'
var newUrl = '/xmglxt/'
history.pushState(stateObject, title, newUrl)