diff --git a/package/component/src/component/select/index.vue b/package/component/src/component/select/index.vue index 2f23390d..f8f87ce1 100644 --- a/package/component/src/component/select/index.vue +++ b/package/component/src/component/select/index.vue @@ -66,6 +66,7 @@ const props = withDefaults(defineProps(), { }); const slots = useSlots(); +const selectRef = ref(); const searchValue = ref(""); const singleValue = ref(""); const multipleValue = ref([]); @@ -150,6 +151,7 @@ const handleClear = () => { } }; +provide("selectRef", selectRef); provide("openState", openState); provide("selectedValue", selectedValue); provide("searchValue", searchValue); @@ -159,6 +161,7 @@ provide("multiple", multiple);