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;
             }