js改变原有的地址 window.open(webPath+'/index?code='+code,'_self'); 转载于:https://www.cnblogs.com/hwaggLee/p/4645680.html