[bugfix] Toast: toggle clickable when destroyed (#1991)

This commit is contained in:
neverland
2018-10-29 17:28:50 +08:00
committed by GitHub
parent 7685ecd254
commit 2e3ecf6402
+4
View File
@@ -63,6 +63,10 @@ export default create({
this.toggleClickale(); this.toggleClickale();
}, },
destroyed() {
this.toggleClickale();
},
watch: { watch: {
value() { value() {
this.toggleClickale(); this.toggleClickale();