mirror of
https://github.com/youzan/vant.git
synced 2025-10-17 08:37:23 +00:00
remove popup scrollbar width
This commit is contained in:
@@ -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;
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user