code: function toTreeArray (array, options) {
    return unTreeList([], array, baseExports.assign({}, setupDefaults.treeOptions, options))
  }
docs: 将一个树结构转成数组列表
  
  @param {Array} array 数组
  @param {Object} options {children: 'children', data: 'data'}
  @return {Array}