duy 2 месяцев назад
Родитель
Сommit
0bbee55542
1 измененных файлов с 1 добавлено и 1 удалено
  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 = [];