@Ajax.ActionLink("删除", "RemovePic", "UploadBug", new { picurlId = item.PicUrlId, t = false }, new AjaxOptions { Confirm = "确定删除?", OnSuccess = "DelSuccess(" + item.PicUrlId + ")",OnFailure="DElFailure()" })RemovePic方法需要权限验证的,一般调用,如果没登录,会跳转到登陆页面。
可这里用ajax,竟然会返回success,但实际上根本没执行