fix: 客户人员-多选表单、日期表单问题修复
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user