Commit 690101c3 by 杨北旺

修改企微绑定页面递归方法返回值

1 parent 899456e5
...@@ -264,10 +264,10 @@ export default { ...@@ -264,10 +264,10 @@ export default {
if (item.children && item.children instanceof Array) { if (item.children && item.children instanceof Array) {
this.traverse(type,item.children, string1, string2, (arr1 = [])) 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!