我后台 赋值了 ViewBag.data,ViewBag.data包含了单引,我在前台用的时候就给转译了,怎么让它不转译啊?
前台代码
<script >
</script>
ViewBag.data 的数据如下: [{name:'aa',data:[0,0,0,43.4,0,0,0,0,0,0,0,0]},
{name:'bb',data:[0,0,0,43.3,0,0,0,0,0,0,0,0]},
{name:'add',data:[0,0,0,43.3,0,0,0,0,0,0,0,0]}]
@(new System.Web.Mvc.MvcHtmlString(ViewBag.data))