vue elementUI tree树形控件选中子节点,获取父节点id
https://blog.csdn.net/qq_37588752/article/details/80075551修改方法里的判断:if ((child.checked || child.indeterminate) && (!leafOnly || leafOnly && child.isLeaf)) {checkedNodes.push(child.data)
·
https://blog.csdn.net/qq_37588752/article/details/80075551
修改方法里的判断:
-
if ((child.checked || child.indeterminate) && (!leafOnly || leafOnly && child.isLeaf)) {
-
checkedNodes.push(child.data);
-
}
更多推荐
已为社区贡献2条内容
所有评论(0)