🐛(popper): 修复自动位置计算逻辑, 导致小三角错误显示
This commit is contained in:
parent
ccdd791027
commit
2966f8d0d8
@ -5,7 +5,7 @@
|
||||
ref="popperRefEl"
|
||||
:class="['layui-popper', { 'layui-dark': isDark }, props.popperClass]"
|
||||
:style="[style, props.popperStyle ?? '']"
|
||||
:position="position"
|
||||
:position="innnerPosition"
|
||||
@mouseenter="handlerPopperMouseEnter"
|
||||
@mouseleave="handlerPopperMouseLeave"
|
||||
>
|
||||
|
@ -44,7 +44,7 @@ setup() {
|
||||
::: demo
|
||||
|
||||
<template>
|
||||
<lay-tooltip content="假装这里有文字提示">
|
||||
<lay-tooltip content="假装这里有文字提示" trigger="click">
|
||||
<lay-button>tooltip</lay-button>
|
||||
</lay-tooltip>
|
||||
</template>
|
||||
|
Loading…
Reference in New Issue
Block a user