We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
{ label:'父菜单' id: 1, checked:true children: [ { label:'子菜单1' id: 11, checked:true }, { label:'子菜单2' id: 12, checked:false } ] } 这种数据render后显示都是选中状态,如何让父菜单半选中子菜单2不选中
label:'子菜单1'
The text was updated successfully, but these errors were encountered:
@pjyIsTheBest checkStrictly=false的话,父子节点不关联了,所以就没有半选节点了, 如果只是要父菜单半选中子菜单1选中,直接设置checkStrictly=true,给菜单1设置选中就行了,这样父节点会自动设置半选的状态
Sorry, something went wrong.
No branches or pull requests
{
label:'父菜单'
id: 1,
checked:true
children: [
{
label:'子菜单1'
id: 11,
checked:true
},
{
label:'子菜单2'
id: 12,
checked:false
}
]
}
这种数据render后显示都是选中状态,如何让父菜单半选中子菜单2不选中
The text was updated successfully, but these errors were encountered: