View中未设置该字段“ImageGroupsNum”:
@Html.EditorFor(model => model.ImageGroupsNum, new { htmlAttributes = new { @class = "form-control",@style= "visibility:hidden;" } })
后台Edit方法,未Bind该字段“ImageGroupsNum”:
public ActionResult Edit([Bind(Include = "Id,Name,AboutUs,QRImgName,QRImgUrl,ImageGroupsNum")] WebSiteConfigViewModel webSiteConfig)
网友评论