test tree
This commit is contained in:
@@ -66,7 +66,7 @@ const props = withDefaults(defineProps<TreeProps>(), {
|
||||
title: "title",
|
||||
};
|
||||
},
|
||||
selectParent:true
|
||||
selectParent:false
|
||||
});
|
||||
|
||||
const slots = useSlots();
|
||||
|
||||
@@ -186,7 +186,7 @@ class Tree {
|
||||
node: TreeData
|
||||
) {
|
||||
node.isChecked = checked;
|
||||
if (!node.selectParent) {
|
||||
if (node.selectParent) {
|
||||
return false;
|
||||
}
|
||||
if (!checkStrictly) {
|
||||
|
||||
Reference in New Issue
Block a user