📅  最后修改于: 2022-03-11 15:03:26.853000             🧑  作者: Mango
//This will completely disable scrolling:
$('html, body').css({
overflow: 'hidden',
height: '100%'
});
//To restore:
$('html, body').css({
overflow: 'auto',
height: 'auto'
});