location.href传json字符串

var exportUrl = "/hzop/policy/settlementBase/exportParam?reqParam=" + encodeURIComponent(JSON.stringify(reqParam));
location.href = exportUrl;
原文地址:https://www.cnblogs.com/sjyBlog/p/13275079.html