fix ไฟล

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-10-28 14:46:46 +07:00
parent 9d4eefd3a6
commit 34adab1639

View file

@ -561,7 +561,7 @@ function getImage() {
}
})
.catch((e) => {
messageError($q, e);
// messageError($q, e);
})
.finally(() => {
hideLoader();
@ -572,8 +572,8 @@ function getImage() {
* งกนเรยกขอมลร
* @param dataList
*/
function getImg(dataList: any) {
http
async function getImg(dataList: any) {
await http
.get(config.API.fileByPath(`${dataList.avatar}/${dataList.avatarName}`))
.then((res) => {
const data = res.data;
@ -585,7 +585,7 @@ function getImg(dataList: any) {
images.value = [...images.value, newData];
})
.catch((e) => {
messageError($q, e);
// messageError($q, e);
});
}