diff --git a/package/component/package.json b/package/component/package.json index 7f061f43..c053e8dd 100644 --- a/package/component/package.json +++ b/package/component/package.json @@ -1,6 +1,6 @@ { "name": "@layui/layui-vue", - "version": "1.5.0-alpha.2", + "version": "1.5.0-alpha.4", "author": "就眠儀式", "license": "MIT", "description": "a component library for Vue 3 base on layui-vue", diff --git a/package/component/script/build.es.ts b/package/component/script/build.es.ts index 785c7126..2f80f425 100644 --- a/package/component/script/build.es.ts +++ b/package/component/script/build.es.ts @@ -44,7 +44,7 @@ const matchModule: string[] = [ "dropdownMenuItem", "tag", "tagInput", - "footer" + "footer", ]; export default (): UserConfigExport => { diff --git a/package/component/src/component/select/index.vue b/package/component/src/component/select/index.vue index d9c492cc..dfe28d29 100644 --- a/package/component/src/component/select/index.vue +++ b/package/component/src/component/select/index.vue @@ -17,6 +17,7 @@ import { Component, watch, } from "vue"; +import { LayIcon } from "@layui/icons-vue"; import LayInput from "../input/index.vue"; import LayTagInput from "../tagInput/index.vue"; import LayDropdown from "../dropdown/index.vue"; @@ -57,9 +58,9 @@ const props = withDefaults(defineProps(), { minCollapsedNum: 3, disabled: false, multiple: false, - size: "md", allowClear: false, showSearch: false, + size: "md" }); const slots = useSlots(); @@ -162,6 +163,7 @@ provide("multiple", multiple); :collapseTagsTooltip="collapseTagsTooltip" :minCollapsedNum="minCollapsedNum" :disabledInput="true" + :size="size" @clear="handleClear" >