Commit 36160931 by 杨北旺

修改递归方法

1 parent 962a2a59
......@@ -266,10 +266,10 @@ export default {
if (item.children && item.children instanceof Array) {
this.traverse(type,item.children, string1, string2, (arr1 = []))
}
return arr1.push(item)
return item
})
return arr1
return arr
}
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!