From 2e3ecf6402917373518421242a16bcf808f0fda3 Mon Sep 17 00:00:00 2001 From: neverland Date: Mon, 29 Oct 2018 17:28:50 +0800 Subject: [PATCH] [bugfix] Toast: toggle clickable when destroyed (#1991) --- packages/toast/Toast.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/toast/Toast.vue b/packages/toast/Toast.vue index 873c9931b..e22075e15 100644 --- a/packages/toast/Toast.vue +++ b/packages/toast/Toast.vue @@ -63,6 +63,10 @@ export default create({ this.toggleClickale(); }, + destroyed() { + this.toggleClickale(); + }, + watch: { value() { this.toggleClickale();