reset body scroll when Modal beforeDestroy
reset body scroll when Modal beforeDestroy
This commit is contained in:
parent
e96fa06df3
commit
727b795cd3
1 changed files with 1 additions and 0 deletions
|
@ -186,6 +186,7 @@
|
||||||
},
|
},
|
||||||
beforeDestroy () {
|
beforeDestroy () {
|
||||||
document.removeEventListener('keydown', this.EscClose);
|
document.removeEventListener('keydown', this.EscClose);
|
||||||
|
this.removeScrollEffect();
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
visible (val) {
|
visible (val) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue