test tree
This commit is contained in:
parent
4b56b2b09c
commit
fc825565d7
@ -53,7 +53,7 @@ const _sfc_main$1 = defineComponent({
|
||||
emit("node-click", node);
|
||||
}
|
||||
function handleChange(checked, node) {
|
||||
props.tree.setCheckedKeys(checked, props.checkStrictly && props.selectParent, node);
|
||||
props.tree.setCheckedKeys(checked, props.checkStrictly || props.selectParent, node);
|
||||
}
|
||||
function handleIconClick(node) {
|
||||
node.isLeaf = !node.isLeaf;
|
||||
|
@ -17650,7 +17650,7 @@ const _sfc_main$K = defineComponent({
|
||||
emit("node-click", node);
|
||||
}
|
||||
function handleChange(checked, node) {
|
||||
props.tree.setCheckedKeys(checked, props.checkStrictly && props.selectParent, node);
|
||||
props.tree.setCheckedKeys(checked, props.checkStrictly || props.selectParent, node);
|
||||
}
|
||||
function handleIconClick(node) {
|
||||
node.isLeaf = !node.isLeaf;
|
||||
|
@ -83,7 +83,7 @@ function recursiveNodeClick(node: TreeData) {
|
||||
}
|
||||
|
||||
function handleChange(checked: boolean, node: TreeData) {
|
||||
props.tree.setCheckedKeys(checked, props.checkStrictly && props.selectParent, node);
|
||||
props.tree.setCheckedKeys(checked, props.checkStrictly || props.selectParent, node);
|
||||
}
|
||||
|
||||
function handleIconClick(node: TreeData) {
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user