下面只展示有用的配置 其余配置参考官方文档 <el-tree ref="eltree"> </el-tree> js this.$nextTick(() => { this.$refs.eltree.setCheckedKeys([]) })