一般刷新整页js是:location.reload(); 或者:location.href = location.href; 转载于:https://www.cnblogs.com/goodsunny/p/3517482.html