js 打开窗口window.open

js改变原有的地址

    window.open(webPath+'/index?code='+code,'_self');
原文地址:https://www.cnblogs.com/hwaggLee/p/4645680.html