diff --git a/package/component/src/component/treeSelect/index.vue b/package/component/src/component/treeSelect/index.vue index 63fdca38..932d02f5 100644 --- a/package/component/src/component/treeSelect/index.vue +++ b/package/component/src/component/treeSelect/index.vue @@ -61,8 +61,10 @@ const checkedKeys = computed({ return props.multiple ? props.modelValue : []; }, set(value) { - emits("update:modelValue", value); - emits("change", value); + if(props.multiple) { + emits("update:modelValue", value); + emits("change", value); + } }, }); @@ -121,10 +123,10 @@ const handleClick = (node: any) => {