url传递中文参数乱码
/*解决方法:编码-->挂参传输-->解码*/ /*encodeURI*/ var url = contextPath+"/view/configure/rbacPermSelView?roleId=" + roleId+"&roleName="+encodeURI(encodeURI(roleName)); window.location = url; /*decodeURI*/ $('.module-name').text(decodeURI(pageHolder.basic.roleName)+"-权限配置");