返回上一个页面的方法,不全,返回并刷新很管用。
history.go();
history.back();history.forward();mysql创建唯一性索引:Alter table user add unique(username);返回并刷新:function goback(){ window.location.href = document.referrer; }@Column(name = "param_class", length = 10)