测试本窗口打开

This commit is contained in:
wulin 2020-11-27 15:29:21 +08:00
parent e13ee305d8
commit 55101ced96

View File

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