async linkToHHY(v){
let obj = this.linkOpts.filter(item => item.id === v)[0]
let linkUrl = obj.login_url
const data = {
password: obj.password,
username: obj.account
}
await Ajax.post(linkUrl, data, function(response){
const res = JSON.parse(response)
let url = obj.index_url + ‘?token=’ + res.result.access_token
window.open(url)
})
},
.filter(item => item.id === v)[0]
最新推荐文章于 2022-12-13 16:33:33 发布