1、跳转页面传值时编码两次
window.location.href='${ctxAdmin}/study/checkForm?id='+encodeURI(encodeURI(id));
2、跳转页面接收时再编码一次
var t =decodeURI(id)
window.location.href='${ctxAdmin}/study/checkForm?id='+encodeURI(encodeURI(id));
2、跳转页面接收时再编码一次
var t =decodeURI(id)
转载于:https://www.cnblogs.com/lgnblog/p/11469023.html