首页 新闻 赞助 找找看
1
回答数

回答被采纳 20 Asp.Net开发cshtml页面的Ajax代码中提示@Url上下文不存在

使用UrlHelper下的Url,代码如下 $.ajax({ type: "post", url: "@Url.Action("GetLoginInfo")?rnd=" + Math.random()