test tree

This commit is contained in:
Theluyuan 2023-05-15 10:33:12 +08:00
parent 93447cf66d
commit 23c229f9ed
4 changed files with 71 additions and 68 deletions

View File

@ -53,6 +53,7 @@ const _sfc_main$1 = defineComponent({
emit("node-click", node); emit("node-click", node);
} }
function handleChange(checked, node) { function handleChange(checked, node) {
debugger;
props.tree.setCheckedKeys(checked, props.checkStrictly || props.selectParent, node); props.tree.setCheckedKeys(checked, props.checkStrictly || props.selectParent, node);
} }
function handleIconClick(node) { function handleIconClick(node) {

View File

@ -17650,6 +17650,7 @@ const _sfc_main$K = defineComponent({
emit("node-click", node); emit("node-click", node);
} }
function handleChange(checked, node) { function handleChange(checked, node) {
debugger;
props.tree.setCheckedKeys(checked, props.checkStrictly || props.selectParent, node); props.tree.setCheckedKeys(checked, props.checkStrictly || props.selectParent, node);
} }
function handleIconClick(node) { function handleIconClick(node) {

View File

@ -83,6 +83,7 @@ function recursiveNodeClick(node: TreeData) {
} }
function handleChange(checked: boolean, node: TreeData) { function handleChange(checked: boolean, node: TreeData) {
debugger
props.tree.setCheckedKeys(checked, props.checkStrictly || props.selectParent, node); props.tree.setCheckedKeys(checked, props.checkStrictly || props.selectParent, node);
} }

File diff suppressed because one or more lines are too long