|
|
@@ -245,7 +245,7 @@ export default {
|
|
|
},
|
|
|
}).then((res) => {
|
|
|
this.loading = false
|
|
|
- this.downloadingVisible = true
|
|
|
+
|
|
|
if (res.code === 200) {
|
|
|
//链接存在时直接下载
|
|
|
if (
|
|
|
@@ -260,6 +260,7 @@ export default {
|
|
|
}
|
|
|
//设置定时器实时获取下载链接的status和percent
|
|
|
else if (res.message == 'success') {
|
|
|
+ this.downloadingVisible = true
|
|
|
this.get_process = setInterval(() => {
|
|
|
this.getProcess(row)
|
|
|
}, 2000)
|