未验证 提交 b212b255 编写于 作者: View Design's avatar View Design 提交者: GitHub

Revert "fix: disabled node can be checked"

上级 a86a9b6a
......@@ -174,11 +174,7 @@
if (this.checkStrictly) return;
for (let key in changes) {
if (key === 'checked' && node.disabled) {
this.$set(node, key, node.checked);
} else {
this.$set(node, key, changes[key]);
}
this.$set(node, key, changes[key]);
}
if (node[this.childrenKey]) {
node[this.childrenKey].forEach(child => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册