@Html.LabelFor(model => model.answer_id, "正确答案", htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.xxx,new { htmlAttributes = new { @class = "form-control", @placeholder = "请输入正确答案", @Value = "1" } })
@Html.ValidationMessageFor(model => model.xxxx, "", new { @class = "text-danger" })
html 添加默认值 input text