开发环境vs2017。想给editorfor设置个默认值让用户打开页面后有个默认值。
直接给你对应的model一个值,比如var model = new xxxViewModel();model.Comment = "default string";return View(model);