方案1:在css样式中设置html,body{height:100%;overflow:hidden} 转载于:https://www.cnblogs.com/adanxiaobo/p/7701179.html