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) => {
|
.catch((e) => {
|
||||||
messageError($q, e);
|
// messageError($q, e);
|
||||||
})
|
})
|
||||||
.finally(() => {
|
.finally(() => {
|
||||||
hideLoader();
|
hideLoader();
|
||||||
|
|
@ -572,8 +572,8 @@ function getImage() {
|
||||||
* ฟังก์ชันเรียกข้อมูลรูป
|
* ฟังก์ชันเรียกข้อมูลรูป
|
||||||
* @param dataList
|
* @param dataList
|
||||||
*/
|
*/
|
||||||
function getImg(dataList: any) {
|
async function getImg(dataList: any) {
|
||||||
http
|
await http
|
||||||
.get(config.API.fileByPath(`${dataList.avatar}/${dataList.avatarName}`))
|
.get(config.API.fileByPath(`${dataList.avatar}/${dataList.avatarName}`))
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
const data = res.data;
|
const data = res.data;
|
||||||
|
|
@ -585,7 +585,7 @@ function getImg(dataList: any) {
|
||||||
images.value = [...images.value, newData];
|
images.value = [...images.value, newData];
|
||||||
})
|
})
|
||||||
.catch((e) => {
|
.catch((e) => {
|
||||||
messageError($q, e);
|
// messageError($q, e);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue