[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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,6 +63,10 @@ export default create({
this.toggleClickale();
},
destroyed() {
this.toggleClickale();
},
watch: {
value() {
this.toggleClickale();