解决方法很简单,不像网上说的那么麻烦。只需一步: [ValidateInput(false)] public ActionResult Test(){ } 相关文章: 2022-01-25 2021-11-15 2021-12-12 2021-07-18