test tree
This commit is contained in:
parent
23c229f9ed
commit
d9e6e75275
@ -268,6 +268,7 @@ class Tree {
|
||||
});
|
||||
}
|
||||
setChildrenChecked(checked, nodes) {
|
||||
console.log("\u8D70\u8D4B\u503C\u5B50\u8282\u70B9\u4E86");
|
||||
var ableCount = 0;
|
||||
var checkCount = 0;
|
||||
const len = nodes.length;
|
||||
@ -288,6 +289,7 @@ class Tree {
|
||||
}
|
||||
}
|
||||
setParentChecked(checked, parent) {
|
||||
console.log("\u8D70\u8D4B\u503C\u7236\u8282\u70B9\u4E86");
|
||||
if (!parent) {
|
||||
return;
|
||||
}
|
||||
|
@ -17865,6 +17865,7 @@ class Tree {
|
||||
});
|
||||
}
|
||||
setChildrenChecked(checked, nodes) {
|
||||
console.log("\u8D70\u8D4B\u503C\u5B50\u8282\u70B9\u4E86");
|
||||
var ableCount = 0;
|
||||
var checkCount = 0;
|
||||
const len = nodes.length;
|
||||
@ -17885,6 +17886,7 @@ class Tree {
|
||||
}
|
||||
}
|
||||
setParentChecked(checked, parent) {
|
||||
console.log("\u8D70\u8D4B\u503C\u7236\u8282\u70B9\u4E86");
|
||||
if (!parent) {
|
||||
return;
|
||||
}
|
||||
|
@ -137,6 +137,7 @@ class Tree {
|
||||
}
|
||||
|
||||
setChildrenChecked(checked: boolean, nodes: TreeData[]) {
|
||||
console.log("走赋值子节点了")
|
||||
var ableCount = 0;
|
||||
var checkCount = 0;
|
||||
const len = nodes.length;
|
||||
@ -163,6 +164,7 @@ class Tree {
|
||||
}
|
||||
|
||||
setParentChecked(checked: boolean, parent: TreeData) {
|
||||
console.log("走赋值父节点了")
|
||||
if (!parent) {
|
||||
return;
|
||||
}
|
||||
|
124
umd/index.js
124
umd/index.js
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user