<el-tree
ref="treeOption"
show-checkbox
default-expand-all
highlight-current
accordion
node-key="id"
check-on-click-node
:data="cisTree.tutorialsType"
:props="defaultProps"
@check="checkNode"
:check-strictly=true
:default-checked-keys="cisTree.defaultCheckNodes"
/>
clearDefaultKeys() {
this.cisTree.defaultCheckNodes = [];
this.$nextTick(function () {
this.$refs.treeOption.setCheckedKeys([]);
});
},
el-tree 数据残留问题
最新推荐文章于 2024-07-03 17:41:55 发布