fix ไฟล
This commit is contained in:
parent
9d4eefd3a6
commit
34adab1639
1 changed files with 4 additions and 4 deletions
|
|
@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue