我在这使用属性重新render饿了么ui的tree:
<el-tree ref="tree"
icon-class="fa fa-caret-right"
class="tree-content"
v-bind="bindAttrs"
v-on="$listeners">
</el-tree>
computed: {
// 绑定属性
bindAttrs() {
return Object.assign({}, this.$attrs, this.$props);
}
},