添加微博登录

This commit is contained in:
yige committed 2020-07-23 14:28:58 +08:00
1 parent ea90eac506
commit 8520e5567a
2 files changed
+26 -1

No files matched your search

+2
View File
@@ -702,6 +702,8 @@ export default {
duration: 5000
})
}
} 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 {
this.$toasted.show('敬请期待', {
position: 'top-center',