diff --git a/package/component/src/component/select/index.vue b/package/component/src/component/select/index.vue index 08c029e4..355b9ae2 100644 --- a/package/component/src/component/select/index.vue +++ b/package/component/src/component/select/index.vue @@ -31,8 +31,6 @@ export interface SelectProps { disabled?: boolean; placeholder?: string; searchPlaceholder?: string; - showEmpty?: boolean; - emptyMessage?: string; modelValue?: any; multiple?: boolean; items?: SelectOptionProps[]; @@ -53,16 +51,12 @@ export interface SelectEmits { const props = withDefaults(defineProps(), { modelValue: null, - placeholder: "请选择", - showEmpty: true, - emptyMessage: "请选择", - searchPlaceholder: "请搜索", collapseTagsTooltip: true, minCollapsedNum: 3, - disabled: false, - multiple: false, allowClear: false, showSearch: false, + disabled: false, + multiple: false, size: "md", }); @@ -236,11 +230,6 @@ provide("multiple", multiple); size="sm" > -