duy hai 2 meses
pai
achega
0bbee55542
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 = [];