关于表单点击提交后,刷新表单页面提示“是否重复提交”的最佳解决方案

只需要在JS中添加一行代码(要确保页面刷新前这个代码已经被调用)即可

window.history.replaceState(null, null, window.location.href);
posted @ 2020-08-13 12:29  组装梦想  阅读(398)  评论(0编辑  收藏  举报