Skip to content
This repository was archived by the owner on Nov 30, 2020. It is now read-only.

Commit 491f361

Browse files
tychenjiajunmatsp
authored andcommitted
fix: wrong payloads in event closed and closing emitted by snackbar (#208)
1 parent d46290c commit 491f361

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/snackbar/Snackbar.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,10 @@ export default {
119119
},
120120
methods: {
121121
onClosing (e) {
122-
this.$emit('closing', e)
122+
this.$emit('closing', e.detail)
123123
},
124124
onClosed (e) {
125-
this.$emit('closed', e)
125+
this.$emit('closed', e.detail)
126126
},
127127
onOpening () {
128128
this.$emit('opening')

0 commit comments

Comments
 (0)