@Ajax.ActionLink("Sales file", "Product", "Import", null, new AjaxOptions{ LoadingElementId = "spinner"}, new {@class="import"})
它提出了两个请求。一个在查询字符串上有以下内容......
?X-Requested-With=XMLHttpRequest /Import
我看过这个,但我确定我在页面中只有一个对 ajax.unobtrusive 的引用。
有任何想法吗?