ソースを参照

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();