@@ -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 = [];