Преглед на файлове

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

hetech преди 7 години
родител
ревизия
51877f6d65
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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();