fix: 客户人员-多选表单、日期表单问题修复

This commit is contained in:
wangzhuo
2025-09-01 13:46:13 +08:00
parent c10a0be121
commit ca7572c542
5 changed files with 198 additions and 75 deletions

View File

@@ -43,7 +43,7 @@
</template>
<script setup>
import { onMounted, reactive, ref } from "vue";
import { onMounted, reactive, ref, defineExpose} from "vue";
const props = defineProps({
// 是否显示全部清空按钮
@@ -175,6 +175,17 @@ const handleChange = (index, item) => {
// 触发回调函数
emit("change", changevalue, realValue);
};
// 失去焦点时关闭选项列表
const handleBlur = () => {
active.value = false;
};
// 定义组件实例暴露的方法
defineExpose({
handleBlur
});
</script>
<style lang="scss" scoped>