test tree
This commit is contained in:
@@ -303,7 +303,7 @@ class Tree {
|
||||
}
|
||||
setCheckedKeys(checked, checkStrictly, node) {
|
||||
node.isChecked = checked;
|
||||
if (!node.selectParent) {
|
||||
if (node.selectParent) {
|
||||
return false;
|
||||
}
|
||||
if (!checkStrictly) {
|
||||
@@ -391,7 +391,7 @@ const _sfc_main = defineComponent({
|
||||
};
|
||||
} },
|
||||
hideicon: { type: Boolean },
|
||||
selectParent: { type: Boolean, default: true }
|
||||
selectParent: { type: Boolean, default: false }
|
||||
},
|
||||
emits: ["update:checkedKeys", "update:expandKeys", "node-click"],
|
||||
setup(__props, { emit }) {
|
||||
|
||||
Reference in New Issue
Block a user