📅  最后修改于: 2022-03-11 14:48:44.286000             🧑  作者: Mango
@Html.EditorFor(model => model.Property, new {htmlAttributes = new {@Value = @Model.Property.ToString("yyyy-MM-dd"), @class = "customclass" } })