Skip to content

Commit

Permalink
fix: tooltip defaultVisible not work #1232
Browse files Browse the repository at this point in the history
  • Loading branch information
tangjinzhou committed Sep 29, 2019
1 parent 6dd61cd commit b4fe211
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/tooltip/Tooltip.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default {
},
data() {
return {
sVisible: !!this.$props.visible,
sVisible: !!this.$props.visible || !!this.$props.defaultVisible,
};
},
watch: {
Expand Down

0 comments on commit b4fe211

Please sign in to comment.