fix select postion
This commit is contained in:
@@ -33,7 +33,8 @@ const _sfc_main = defineComponent({
|
||||
allowClear: { type: Boolean, default: false },
|
||||
showSearch: { type: Boolean, default: false },
|
||||
contentClass: null,
|
||||
contentStyle: null
|
||||
contentStyle: null,
|
||||
position: { default: "top" }
|
||||
},
|
||||
emits: ["update:modelValue", "change", "search"],
|
||||
setup(__props, { emit: emits }) {
|
||||
@@ -180,6 +181,7 @@ const _sfc_main = defineComponent({
|
||||
disabledInput: !__props.showSearch,
|
||||
size: __props.size,
|
||||
class: normalizeClass({ "layui-unselect": true }),
|
||||
position: __props.position,
|
||||
onRemove: handleRemove,
|
||||
onClear: handleClear,
|
||||
onInputValueChange: handleSearch,
|
||||
@@ -199,7 +201,7 @@ const _sfc_main = defineComponent({
|
||||
}, null, 8, ["class"])
|
||||
]),
|
||||
_: 1
|
||||
}, 8, ["modelValue", "input-value", "allow-clear", "placeholder", "collapseTagsTooltip", "minCollapsedNum", "disabled", "disabledInput", "size"])) : (openBlock(), createBlock(_sfc_main$4, {
|
||||
}, 8, ["modelValue", "input-value", "allow-clear", "placeholder", "collapseTagsTooltip", "minCollapsedNum", "disabled", "disabledInput", "size", "position"])) : (openBlock(), createBlock(_sfc_main$4, {
|
||||
key: 1,
|
||||
size: __props.size,
|
||||
disabled: __props.disabled,
|
||||
|
||||
Reference in New Issue
Block a user