![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mvc
纪寻川
我若成佛,天下无魔;我若成魔,佛奈我何
展开
-
序列化类型的对象时检测到循环引用
问题代码:public ActionResult SelectAllForClasses() { var lists = db.OEE_Team.ToList(); var result = new { lists = db.OEE_Team }; return Json(result, JsonR原创 2017-06-02 12:11:39 · 5764 阅读 · 0 评论 -
MVC页面上在jquery中用.net代码给前端代码赋值
就一句话:var data = @Html.Raw(Json.Encode(ViewBag.TemplateKeyValue).ObjectList);@Html.Raw(Json.Encode(后台.net值);原创 2018-05-24 11:40:07 · 1189 阅读 · 0 评论