duy 2 mesiacov pred
rodič
commit
0bbee55542
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      src/views/manager/projectinfo/tree.vue

+ 1 - 1
src/views/manager/projectinfo/tree.vue

@@ -4956,7 +4956,7 @@ export default {
         }
         if(type===2){
           selectByNodeTable(this.curTreeData.id, projectId, wbsId).then((res) => {
-          if (res.data.data.length) {
+          if (res.data.data&&res.data.data.length > 0) {
             this.preTableData = res.data.data;
           } else {
             this.preTableData = [];