附件下载

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

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

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

Loading…
Cancel
Save