let filters = '{"groupOp":"AND","rules":[{"field":"apptype","op":"eq","data":"android"}]}'; //对传递数据进行转码操作即可 filters = encodeURIComponent(filters,"utf-8") //首先,先确保你这里的filters是正确的JSON格式数据 var downBook = $("<a href='"+basePath+"/common/exportExcels?filters="+filters+"'
我就非要在get请求下传递json数据,结果报错了?
最新推荐文章于 2024-05-18 15:36:58 发布