From 75b86832f09cdc3cf67ba11c3db5b3d2f795c04c Mon Sep 17 00:00:00 2001 From: cookfront Date: Fri, 24 Feb 2017 19:13:14 +0800 Subject: [PATCH] remove popup scrollbar width --- src/mixins/popup/index.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/mixins/popup/index.js b/src/mixins/popup/index.js index eb8bd0af1..b4dd89dda 100644 --- a/src/mixins/popup/index.js +++ b/src/mixins/popup/index.js @@ -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; } };