Explorar o código

Tree: not check node when check-strictly is true (#12106)

hetech %!s(int64=7) %!d(string=hai) anos
pai
achega
51877f6d65
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/tree/src/model/node.js

+ 1 - 1
packages/tree/src/model/node.js

@@ -314,7 +314,7 @@ export default class Node {
         if (data instanceof Array) {
           if (this.checked) {
             this.setChecked(true, true);
-          } else {
+          } else if (!this.store.checkStrictly) {
             reInitChecked(this);
           }
           done();