修改提示语

This commit is contained in:
qq787203167
2022-06-08 16:15:43 +08:00
parent fab8e90537
commit c7b162c90d
5 changed files with 10 additions and 8 deletions
+1
View File
@@ -153,6 +153,7 @@ export function downloadFile(url, fileName, parameter, callback) {
isTrue: isTrue
})
return downFile(url, parameter).then((data) => {
console.log(data)
if (!data || data.size === 0) {
Vue.prototype['$message'].warning('文件下载失败')
return