From c0d2f24c65644ae895a709aaf69398c1bf06a8b8 Mon Sep 17 00:00:00 2001 From: yi-ge Date: Thu, 23 Jul 2020 14:37:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0qq=E7=99=BB=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/post/_id.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pages/post/_id.vue b/pages/post/_id.vue index 4854d3a..14086b4 100644 --- a/pages/post/_id.vue +++ b/pages/post/_id.vue @@ -702,6 +702,8 @@ export default { duration: 5000 }) } + } else if (type === 'qq') { + window.location.href = 'https://graph.qq.com/oauth2.0/authorize?response_type=code&client_id=101000700&redirect_uri=' + decodeURIComponent('https://www.wyr.me/auth') + '&state=qq-' + this.postID } else if (type === 'weibo') { window.location.href = 'https://api.weibo.com/oauth2/authorize?client_id=4159322735&redirect_uri=https://wyr.me/auth&response_type=code&state=weibo-' + this.postID } else {