Skip to content

Commit b4fe211

Browse files
committed
fix: tooltip defaultVisible not work #1232
1 parent 6dd61cd commit b4fe211

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: components/tooltip/Tooltip.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export default {
3838
},
3939
data() {
4040
return {
41-
sVisible: !!this.$props.visible,
41+
sVisible: !!this.$props.visible || !!this.$props.defaultVisible,
4242
};
4343
},
4444
watch: {

0 commit comments

Comments
 (0)