Skip to content

Commit c05935e

Browse files
authored
fix(u-tooltip):修复size不生效的问题 (#1070)
fixed #780
1 parent c706816 commit c05935e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

uni_modules/uview-ui/components/u-tooltip/u-tooltip.vue

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
@longpress.stop="longpressHandler"
1919
:style="{
2020
color: color,
21+
fontSize: $u.addUnit(size),
2122
backgroundColor: bgColor && showTooltip && tooltipTop !== -10000 ? bgColor : 'transparent'
2223
}"
2324
>{{ text }}</text>

0 commit comments

Comments
 (0)