From 491f361fb592460abffebd5a0401c89962229ae1 Mon Sep 17 00:00:00 2001 From: Jiajun Chen Date: Mon, 1 Apr 2019 20:34:44 +0800 Subject: [PATCH] fix: wrong payloads in event `closed` and `closing` emitted by snackbar (#208) --- components/snackbar/Snackbar.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/snackbar/Snackbar.vue b/components/snackbar/Snackbar.vue index e5afde83d..e0a1fad37 100644 --- a/components/snackbar/Snackbar.vue +++ b/components/snackbar/Snackbar.vue @@ -119,10 +119,10 @@ export default { }, methods: { onClosing (e) { - this.$emit('closing', e) + this.$emit('closing', e.detail) }, onClosed (e) { - this.$emit('closed', e) + this.$emit('closed', e.detail) }, onOpening () { this.$emit('opening')