window.open()传递参数如何在新页面获取
旧页面中:
function readFile(saveName){
var path = $("#serverHost").val() + “/file/downloadCurrent/” + saveName;
var cclj = $("#fjcflj").val();
window.open("/static/wps/wps.html?path="+path+"&cclj="+cclj, “_blank”);
}
跳转的页面中:
var afterUrl = window.location
原创
2021-04-16 09:25:43 ·
1342 阅读 ·
0 评论