赞
踩
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)
})
},
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。