duy 1 year ago
parent
commit
68a34c841b
1 changed files with 5 additions and 1 deletions
  1. 5 1
      src/views/transfer/components/table-collect.vue

+ 5 - 1
src/views/transfer/components/table-collect.vue

@@ -138,9 +138,13 @@ const getTotalTabledata = (data)=>{
     totalTabledata.value = []
     totalTabledata.value = []
     data.forEach((ele)=>{
     data.forEach((ele)=>{
        ele.nodeLists.forEach((ele1)=>{
        ele.nodeLists.forEach((ele1)=>{
-            ele1.list.forEach((ele2)=>{
+        console.log(ele1, 'ele1')
+        if (ele1.list !== null) {
+            ele1?.list.forEach((ele2)=>{
                 totalTabledata.value.push(ele2)
                 totalTabledata.value.push(ele2)
             })
             })
+        }
+            
        })
        })
     })
     })
 }
 }