标签:lan java sign oauth container 授权 ted 登录 group
// 获取微博登录地址
oauth_post().then((resp) => {
consloe.log(resp)
// {"code": "0", "msg": "成功", "data": {"url": url}}
let url = resp.data.url;
this.weibo_url = url;
})
},
mounted() {
this.oauth()
}
<form
action="/login"
method="post"
>
<div class="form-group widget-signin">
<a :href="weibo_url"><i class="fa fa-weibo"></i></a>
</div>
</form>
标签:lan java sign oauth container 授权 ted 登录 group
原文地址:https://www.cnblogs.com/hr20-04-19/p/13793367.html