设置一下返回类型为HTML TEXT就可以了

JsonResult json = Json(xxx, JsonRequestBehavior.DenyGet);
json.ContentType = "text/html";
return json;

 

 

相关文章:

  • 2022-03-01
  • 2022-12-23
  • 2021-11-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-17
  • 2021-07-05
猜你喜欢
  • 2021-06-29
  • 2022-12-23
  • 2021-08-10
  • 2022-12-23
  • 2021-06-04
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案