test tree

This commit is contained in:
2023-05-15 09:12:50 +08:00
parent eb3f2e831c
commit 8f88083070
5 changed files with 8 additions and 8 deletions

View File

@@ -17900,7 +17900,7 @@ class Tree {
}
setCheckedKeys(checked, checkStrictly, node) {
node.isChecked = checked;
if (!node.selectParent) {
if (node.selectParent) {
return false;
}
if (!checkStrictly) {
@@ -17988,7 +17988,7 @@ const _sfc_main$J = defineComponent({
};
} },
hideicon: { type: Boolean },
selectParent: { type: Boolean, default: true }
selectParent: { type: Boolean, default: false }
},
emits: ["update:checkedKeys", "update:expandKeys", "node-click"],
setup(__props, { emit }) {