修改样式

This commit is contained in:
xuli
2025-12-03 16:03:49 +08:00
parent e83c2bb29a
commit 804f1c6e18
15 changed files with 110 additions and 30 deletions

View File

@@ -43,8 +43,7 @@
</template>
<script setup>
import { onMounted, reactive, ref, defineExpose, watch} from "vue";
import { onMounted, reactive, ref, watch} from "vue";
const props = defineProps({
// 是否显示全部清空按钮
showClearIcon: {
@@ -178,14 +177,13 @@ const handleChange = (index, item) => {
// 失去焦点时关闭选项列表
const handleBlur = () => {
active.value = false;
active.value = false;
};
// 定义组件实例暴露的方法
defineExpose({
handleBlur
handleBlur
});
</script>
<style lang="scss" scoped>