Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
dimailn committed Nov 17, 2017
1 parent c0eb262 commit 814b6e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/modal/Modal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,9 @@
},
toggle (show, msg) {
this.msg = msg
if(!show && this.beforeClose && !this.beforeClose())
if (!show && this.beforeClose && !this.beforeClose()) {
return
}
this.$emit('input', show)
},
$toggle (show) {
Expand Down

0 comments on commit 814b6e5

Please # to comment.