Tree: not check node when it's disabled (#11847)

pull/11861/head
hetech 2018-07-03 18:27:50 +08:00 committed by 杨奕
parent 61756c5bd5
commit d3224b582b
1 changed files with 1 additions and 1 deletions

View File

@ -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 }
});