jinx пре 4 година
родитељ
комит
bc03febdc7
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      src/pages/scene/index.vue

+ 2 - 1
src/pages/scene/index.vue

@@ -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)