public JsonResult ReturnTest()
        {
            return Json(new {myMsg ="hello world"}, "text/html; charset=UTF-8"); //没问题
            //return Json(new { myMsg = "hello world" }, "text/json; charset=UTF-8"); //firefox下JSON提示另存为
            //return Json(new { myMsg = "hello world" }); //IE下JSON提示另存为
        }

 

相关文章:

  • 2022-12-23
  • 2021-09-09
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-05
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-24
  • 2022-01-01
  • 2022-12-23
相关资源
相似解决方案