แก้ไข display 1.ตรวจสอบคุณสมบัติ
This commit is contained in:
parent
f33ec8fbc5
commit
0b2bb5f252
12 changed files with 277 additions and 289 deletions
|
|
@ -77,12 +77,8 @@ async function downloadFile(url: string) {
|
|||
},
|
||||
})
|
||||
.then((res) => {
|
||||
console.log(url);
|
||||
|
||||
const blob = new Blob([res.data]);
|
||||
const objectUrl = URL.createObjectURL(blob);
|
||||
console.log(objectUrl);
|
||||
|
||||
emit("update:file", objectUrl, url);
|
||||
})
|
||||
.catch((err) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue