remove popup scrollbar width

This commit is contained in:
cookfront 2017-02-24 19:13:14 +08:00
parent eac9f12614
commit 75b86832f0

View File

@ -154,9 +154,7 @@ export default {
if (this.modal && this.bodyOverflow !== null && this.bodyOverflow !== 'hidden') {
document.body.style.overflow = this.bodyOverflow;
document.body.style.paddingRight = this.bodyPaddingRight;
}
this.bodyOverflow = null;
this.bodyPaddingRight = null;
}
};