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

@@ -108,7 +108,7 @@ onMounted(() => {
</span>
</div>
<slot v-else></slot>
<lay-popper v-if="isMounted" v-bind="innerProps">
<lay-popper :positio="position" v-if="isMounted" v-bind="innerProps">
<slot name="content"></slot>
</lay-popper>
</template>