element ui tree 获取到选中节点

xiaoxiao2025-08-17  27

html: <el-tree :data="region" :props="defaultProps" show-checkbox class="list-bt" ref="tree" :highlight-current="true" @check-change="getChecked" > </el-tree>

方法:

this.$refs.tree.getCheckedNodes()
转载请注明原文地址: https://www.6miu.com/read-5034969.html

最新回复(0)