update Table tree

This commit is contained in:
梁灏 2020-01-03 14:24:35 +08:00
parent 793b73035a
commit 34fc2db44e

View file

@ -1021,7 +1021,7 @@
},
makeChildrenObjData (data) {
if (data.children && data.children.length) {
data.children.map(row => {
return data.children.map(row => {
const newRow = this.makeObjBaseData(row);
if (newRow.children && newRow.children.length) {
newRow.children = this.makeChildrenObjData(newRow);