ЕК
Size: a a a
ЕК
AH
comment->want
мн
AP
export const getById = async (id) => {
const response = await client.get('/api/carriers/' + id, {
headers: {
session: localStorage.getItem('token')
}
});
const data = response.data;
return data;
}
ЕК
мн
ИС
export const getById = async (id) => {
const response = await client.get('/api/carriers/' + id, {
headers: {
session: localStorage.getItem('token')
}
});
const data = response.data;
return data;
}
ЕК
мн
ЕК
мн
AP
ИС
ИС
AP
created() {
console.log(getById(8));
},
ИС
async created() {
console.log(await getById(8));
},
ИС
created() {
console.log(getById(8));
},
мн
$GOPATH/pkg/mod
, вомн