popup component

This commit is contained in:
cookfront
2017-02-24 19:26:30 +08:00
parent 75b86832f0
commit 042b286583
3 changed files with 11 additions and 16 deletions
-2
View File
@@ -131,10 +131,8 @@ export default {
setTimeout(() => {
if (this.modal && this.bodyOverflow !== 'hidden') {
document.body.style.overflow = this.bodyOverflow;
document.body.style.paddingRight = this.bodyPaddingRight;
}
this.bodyOverflow = null;
this.bodyPaddingRight = null;
}, 200);
}