移动端history.back无效 平时我们页面通过js返回上一页的时候会用: window.history.back(); window.history.go(-1); 但是在移动端的时候却无效,这时可以采用: window.location.href = window.document.referrer; window.document.referrer返回当前页面来源uri。 MDN_referrer