An unhandled exception occurred while processing the request.
InvalidOperationException: Cannot determine the 'href' attribute for <a>. The following attributes are mutually exclusive:
asp-route
asp-controller, asp-action
asp-page, asp-page-handler
asp-route
asp-controller, asp-action
asp-page, asp-page-handler
Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper.Process(TagHelperContext context, TagHelperOutput output)
请检查路由是否正确asp-route-id如果写成asp-route=""这样的路由是错误的,必须加上-键名="值"
发表评论