This commit is contained in:
setthawutttty 2024-01-19 17:26:08 +07:00
parent 803477c451
commit 6b07c9694c

View file

@ -102,6 +102,10 @@ async function getData(){
});
};
/**
* งช งรปภาพโปรไฟล
* @param id id ของบคคล
*/
function getAvatar(id:string){
if(id){
http
@ -110,6 +114,10 @@ function getAvatar(id:string){
console.log(res)
const dataList = res.data.result
data.avatar = dataList.avatar
}).catch((e)=>{
}).finally(()=>{
})
}
}