-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
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
根据data中的属性,隐藏checkbox #25
Labels
wontfix
This will not be worked on
Comments
使用 |
那这样生成的checkbox就不能使用定义好的那些方法了吧。比如获取选择的节点
…------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2023年4月3日(星期一) 下午4:33
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [wchbrad/vue-easy-tree] 根据data中的属性,隐藏checkbox (Issue #25)
使用render-content自定义内容,check-box根据data属性的需要渲染
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
或者你可以在需要不展示的节点使用 |
子节点禁用了之后,父节点就不能选择了哦
…------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2023年4月3日(星期一) 下午4:49
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [wchbrad/vue-easy-tree] 根据data中的属性,隐藏checkbox (Issue #25)
或者你可以在需要不展示的节点使用disabledCheckbox: true,这个会是该节点不可选,但是会显示灰色的checkbox框
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
|
有指定更新某个节点的方法吗
…------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2023年4月4日(星期二) 上午9:53
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [wchbrad/vue-easy-tree] 根据data中的属性,隐藏checkbox (Issue #25)
check-strictly="true"可以解决父节点不能选择的问题,但不能全选,可以自己实现checkbox的选中和取消选中方法
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
哈哈.对象是同一个对象。可以更改
…------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2023年4月4日(星期二) 上午9:53
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [wchbrad/vue-easy-tree] 根据data中的属性,隐藏checkbox (Issue #25)
check-strictly="true"可以解决父节点不能选择的问题,但不能全选,可以自己实现checkbox的选中和取消选中方法
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
大佬,我想实现根据数据中的某个属性,决定是否展示checkbox,怎么弄啊。比如图片中,不想要通道的checkbo展示出来。这个树的层级不定,可能会嵌套很深。
The text was updated successfully, but these errors were encountered: