File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -241,7 +241,7 @@ export default defineComponent({
241
241
computed ( ( ) => ! injectFromPopover . value ) ,
242
242
) ;
243
243
return ( ) => {
244
- const { openClassName, overlayClassName, overlayInnerStyle } = props ;
244
+ const { openClassName, overlayClassName, overlayStyle , overlayInnerStyle } = props ;
245
245
let children = filterEmpty ( slots . default ?.( ) ) ?? null ;
246
246
children = children . length === 1 ? children [ 0 ] : children ;
247
247
@@ -283,6 +283,7 @@ export default defineComponent({
283
283
visible : tempVisible ,
284
284
ref : tooltip ,
285
285
overlayClassName : customOverlayClassName ,
286
+ overlayStyle : { ...arrowContentStyle , ...overlayStyle } ,
286
287
overlayInnerStyle : formattedOverlayInnerStyle ,
287
288
onVisibleChange : handleVisibleChange ,
288
289
onPopupAlign,
@@ -296,9 +297,7 @@ export default defineComponent({
296
297
< VcTooltip
297
298
{ ...vcTooltipProps }
298
299
v-slots = { {
299
- arrowContent : ( ) => (
300
- < span class = { `${ prefixCls . value } -arrow-content` } style = { arrowContentStyle } > </ span >
301
- ) ,
300
+ arrowContent : ( ) => < span class = { `${ prefixCls . value } -arrow-content` } > </ span > ,
302
301
overlay : getOverlay ,
303
302
} }
304
303
>
You can’t perform that action at this time.
0 commit comments