fix select postion

This commit is contained in:
2023-05-26 16:37:09 +08:00
parent 6c966e8424
commit 13f45bcfef
8 changed files with 39 additions and 19 deletions

View File

@@ -34,7 +34,8 @@ const _sfc_main = defineComponent({
collapseTagsTooltip: { type: Boolean },
size: { default: "md" },
tagProps: null,
disabledInput: { type: Boolean }
disabledInput: { type: Boolean },
position: { default: "top" }
},
emits: [
"update:modelValue",
@@ -247,7 +248,8 @@ const _sfc_main = defineComponent({
isDark: false,
trigger: "hover",
popperStyle: "padding:6px",
disabled: !__props.collapseTagsTooltip
disabled: !__props.collapseTagsTooltip,
position: __props.position
}, {
content: withCtx(() => [
createElementVNode("div", _hoisted_3, [
@@ -283,7 +285,7 @@ const _sfc_main = defineComponent({
}, 16, ["size"])
]),
_: 1
}, 8, ["disabled"])) : createCommentVNode("", true),
}, 8, ["disabled", "position"])) : createCommentVNode("", true),
createElementVNode("input", {
ref_key: "inputRefEl",
ref: inputRefEl,