网上查了很多办法都无效,
暂定解决办法:
将整个url用encodeURI(url)进行编码,再进行访问即可
例如:
var url='/index/saveFileToClient?url='+str;
url = encodeURI(url);
window.frames["_hiddenFrame"].window.location.href = url;
网上查了很多办法都无效,
暂定解决办法:
将整个url用encodeURI(url)进行编码,再进行访问即可
例如:
var url='/index/saveFileToClient?url='+str;
url = encodeURI(url);
window.frames["_hiddenFrame"].window.location.href = url;