yuanyiming 1 ano atrás
pai
commit
86eb955829
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/views/projectManage/ProjectManagement.vue

+ 1 - 1
src/views/projectManage/ProjectManagement.vue

@@ -372,7 +372,7 @@ import beUpload from '../../components/tool/beUpload'
           }).then(res=>{
           }).then(res=>{
             console.log(res);
             console.log(res);
             console.log(res.data);
             console.log(res.data);
-            if (!res.data[0]) {
+            if (res.data[0].length>0) {
                 let data=JSON.parse(res.data[0][0].endFile)
                 let data=JSON.parse(res.data[0][0].endFile)
                 this.file=data;
                 this.file=data;
             }
             }