Jetbrains全系列IDE使用 1年只要46元 售后保障 童叟无欺
window.history.back(-1);只后退一步,不进行刷新
location.href=document.referrer;后退一步并刷新,
document.referrer获取上一个页面的url
转载于:https://www.cnblogs.com/jianghaidong/p/4971592.html
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/164175.html原文链接:https://javaforall.net