mvc 后端向前端传递 json对象,并在js中使用

转载地址:https://www.cnblogs.com/hao-1234-1234/p/8568400.html

 

 

前端js

 var RichTextDetail = [@Html.Raw(JsonConvert.SerializeObject(ViewData["RichTextDetail"]))][0];

posted on 2019-11-21 11:00  gfbppy  阅读(525)  评论(0编辑  收藏  举报

导航