diff --git a/package/component/src/component/popper/index.vue b/package/component/src/component/popper/index.vue index 64e1dfb1..547ba1f3 100644 --- a/package/component/src/component/popper/index.vue +++ b/package/component/src/component/popper/index.vue @@ -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" > diff --git a/package/document-component/src/document/zh-CN/components/tooltip.md b/package/document-component/src/document/zh-CN/components/tooltip.md index 4823fb8e..dafd989c 100644 --- a/package/document-component/src/document/zh-CN/components/tooltip.md +++ b/package/document-component/src/document/zh-CN/components/tooltip.md @@ -44,7 +44,7 @@ setup() { ::: demo