mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 09:24:25 +00:00
image preview component
This commit is contained in:
@@ -70,10 +70,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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user