Browse Source

同步修改

duy 2 tháng trước cách đây
mục cha
commit
0bbee55542
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 = [];