diff --git a/src/views/common/dingtalklogin.vue b/src/views/common/dingtalklogin.vue index 7fc6612..c021f7c 100644 --- a/src/views/common/dingtalklogin.vue +++ b/src/views/common/dingtalklogin.vue @@ -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