测试不跳转

This commit is contained in:
wulin 2020-11-27 15:14:50 +08:00
parent 5409a15d8a
commit e13ee305d8

View File

@ -127,7 +127,8 @@ export default {
console.log('获取token')
this.$cookie.set('token', res.token)
this.dataForm.verify='登录成功,跳转中...'
window.open(window.location.href + '&code=' + dingCode.code)
//window.open(window.location.href + '&code=' + dingCode.code, "_blank")
window.location.href = window.location.href + '&code=' + dingCode.code
console.log('跳转')
} else {
this.dataForm.verify='身份验证失败' + res.msg