jufubao-admin-library 1.1.142 → 1.1.143
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -332,12 +332,12 @@ export default {
|
|
|
332
332
|
download_url = res.data['download_url']
|
|
333
333
|
}
|
|
334
334
|
// #endif
|
|
335
|
-
let fileName = '';
|
|
336
|
-
if(file_name && file_ext) fileName = `${file_name}.${file_ext}`;
|
|
337
|
-
let download = document.getElementById('download-url');
|
|
338
|
-
download.src = download_url
|
|
339
335
|
|
|
340
|
-
|
|
336
|
+
if(download_url) {
|
|
337
|
+
let download = document.getElementById('download-url');
|
|
338
|
+
download.src = download_url
|
|
339
|
+
}
|
|
340
|
+
|
|
341
341
|
loading.close()
|
|
342
342
|
}).catch(err=>{
|
|
343
343
|
loading.close()
|