mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 09:24:25 +00:00
fix dialog
This commit is contained in:
@@ -68,7 +68,7 @@ export default {
|
||||
|
||||
if (this.lockOnScroll) {
|
||||
setTimeout(() => {
|
||||
if (this.modal && this.bodyOverflow !== 'hidden') {
|
||||
if (this.overlay && this.bodyOverflow !== 'hidden') {
|
||||
document.body.style.overflow = this.bodyOverflow;
|
||||
}
|
||||
this.bodyOverflow = null;
|
||||
|
Reference in New Issue
Block a user