优化暂态事件列表
This commit is contained in:
@@ -10,7 +10,9 @@ export const downLoadFile = (name: string, key: string, res: any) => {
|
||||
document.body.appendChild(link)
|
||||
link.click() //执行下载
|
||||
document.body.removeChild(link)
|
||||
ElMessage.success('下载成功')
|
||||
setTimeout(() => {
|
||||
ElMessage.success('下载成功')
|
||||
}, 2000)
|
||||
}
|
||||
|
||||
const getFileType = (url: string) => {
|
||||
|
||||
Reference in New Issue
Block a user