mvc5 Html.EditorFor html属性有了新变化,和以前的不同了

@Html.EditorFor(model => model.MaxNumber, new { htmlAttributes = new { @min = "1" } })

原文地址:https://www.cnblogs.com/nopassword/p/6210532.html