附件下载

附件下载
pull/1/head
siontion 9 months ago
parent 4ee874118b
commit 6a0967e60e

@ -448,8 +448,10 @@ const handleDeleteAttachment = async (index, type) => {
}
//
const downloadAttachment = async (name, url) => {
if(url){
const data = await downloadFile(url)
download.any(data, name);
}
}
// ==================== =======================================

@ -426,8 +426,10 @@ const handleDeleteAttachment = async (index, type) => {
}
//
const downloadAttachment = async (name, url) => {
if(url){
const data = await downloadFile(url)
download.any(data, name);
}
}
// ==================== =======================================

Loading…
Cancel
Save