[英]@Url.Action returns a null value within the jQuery .load() method
[英]Url.Action cant find controller method which returns RedirectToAction
更改window.location.href
会执行“GET”。 除非您的[HttpPost]
上方有一个[HttpGet]
,否则您已将该操作锁定为仅“POST”。 只需删除[HttpPost]
属性。 无论如何,可能没有理由锁定注销方法。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.