แกไขคำผืด
This commit is contained in:
parent
27044dad1d
commit
55fe5e8651
2 changed files with 4 additions and 4 deletions
|
|
@ -57,6 +57,9 @@ async function fetchDocument(fileName: string) {
|
|||
})
|
||||
.catch((err) => {
|
||||
messageError($q, err);
|
||||
})
|
||||
.finally(() => {
|
||||
showLoader();
|
||||
}));
|
||||
}
|
||||
|
||||
|
|
@ -65,6 +68,7 @@ async function fetchDocument(fileName: string) {
|
|||
* @param url ลิงก์ดาวน์โหลดไฟล์
|
||||
*/
|
||||
async function downloadFile(url: string) {
|
||||
showLoader();
|
||||
await axios
|
||||
.get(url, {
|
||||
responseType: "blob",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue