Explorar el Código

跳过检查直接提交

tangning hace 10 meses
padre
commit
4fcffe1b6d
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. 3 2
      src/views/scenes/list.vue

+ 3 - 2
src/views/scenes/list.vue

@@ -514,8 +514,9 @@
         // SceneDownloadModel
         const checker = await checkDownloadApi(param);
         if (checker.downloadStatus < 3) {
-          const res = await downloadSceneDataAPi(param);
-          console.log('res', res);
+          if (checker.downloadStatus != 1) {
+            await downloadSceneDataAPi(param);
+          }
           openDownloadModal(true, { ...record, isObj: param.isObj });
         } else {
           downloadByUrl({