yuanyiming преди 2 години
родител
ревизия
86eb955829
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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=>{
             console.log(res);
             console.log(res.data);
-            if (!res.data[0]) {
+            if (res.data[0].length>0) {
                 let data=JSON.parse(res.data[0][0].endFile)
                 this.file=data;
             }