mirror of https://github.com/ElemeFE/element
Tree: not check node when it's disabled (#11847)
parent
61756c5bd5
commit
d3224b582b
|
@ -167,7 +167,7 @@
|
|||
if (this.tree.expandOnClickNode) {
|
||||
this.handleExpandIconClick();
|
||||
}
|
||||
if (this.tree.checkOnClickNode) {
|
||||
if (this.tree.checkOnClickNode && !this.node.disabled) {
|
||||
this.handleCheckChange(null, {
|
||||
target: { checked: !this.node.checked }
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue