您现在的位置:首页 >> 前端 >> 内容

axios调用多参数API

时间:2017/7/14 11:12:22 点击:

  核心提示:componentDidMount(){axios({method:get,url:https://route.showapi.com/341-1,//参数params:{showapi_appid:...

componentDidMount(){
axios({
method:’get’,
url:’https://route.showapi.com/341-1‘,
//参数
params:{
showapi_appid:’33421’,
showapi_sign:’*******************
}
}).then((res)=>{

    console.log(res)

    })
}

Tags:AX XI IO OS 
作者:网络 来源:koufulong的