【发布时间】:2019-04-17 10:34:24
【问题描述】:
axios.defaults.headers.common['Authorization'] = "Bearer "+localStorage.getItem('token');
axios.get(baseUrl+'/country/fetch/'+id)
.then((response) => {
})
.catch(function (error) {
console.log(error);
});
请帮助我将数据从孩子传递给父母。在这里,我得到数据作为响应。现在我想将此传递给父母我该怎么做?
【问题讨论】: