最简单有效的方法如下:在window.open()函数中增加一个参数,将target设置为‘self’,即改为使用: window.open(link,'_self');老三绝对正确我试了
用来代替,只是相应叫JavaScript差点