1. Question:
2. Solve:
[Method 1] lock-scroll
【Method 2】main.js
ElementUI.Dialog.props.lockScroll.default = false;
[Method 3] Modify the body style:
let mo=function(e){
e.preventDefault();};
stop(){
document.body.style.overflow='hidden';
document.body.style.position='fixed';
document.body.style.width='100%';
document.addEventListener("touchmove",mo,false);
},
move(){
document.body.style.overflow='';
document.body.style.position='initial';
document.body.style.height='1006px';
document.removeEventListener("touchmove",mo,false);
},