Skip to content

Commit

Permalink
fix(tip): fix .show method
Browse files Browse the repository at this point in the history
  • Loading branch information
AngusFu committed Nov 8, 2018
1 parent d810a68 commit 5864fec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/tip/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export default {
},
methods: {
show ({ type }) {
show ({ type = 'click' }) {
if (SHOW_MATCH_MAP[this.trigger] === type) {
this.clearTimeout()
this.visible = true
Expand Down

0 comments on commit 5864fec

Please sign in to comment.