提交 8abd0cbf 编写于 作者: laizhilong's avatar laizhilong

变量说明

上级 a7a7ecdd
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
/** /**
* QQ互联授权成功返回的code和state * QQ授权成功返回的code和state
*/ */
public code: any; public code: any;
public state: any; public state: any;
......
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
public BtnContent: any = "注册并绑定微信"; public BtnContent: any = "注册并绑定微信";
/** /**
* 微信公众号授权成功返回的code和state * 微信授权成功返回的code和state
*/ */
public code: any; public code: any;
public state: any; public state: any;
...@@ -151,7 +151,6 @@ ...@@ -151,7 +151,6 @@
if (!this.state) { if (!this.state) {
this.state = this.getUrlParam('state'); this.state = this.getUrlParam('state');
} }
// alert("code:" + this.wechatCode + "\nstate:" + this.wechatState);
// 获取失败,回到登录页 // 获取失败,回到登录页
if (!this.code || !this.state) { if (!this.code || !this.state) {
this.$message.error("微信授权,获取code失败"); this.$message.error("微信授权,获取code失败");
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册