在列表里面使用jquery-tmpl时,由于其中一列的值里面带有换行,
返回数据后,换行效果消失,字段值显示为一横排。
之前写法:${requirements}
更改之后的写法:{{html requirements}}
其中:requirements为字段名。
博客讲述在列表使用jquery-tmpl时,因某列值含换行,返回数据后换行效果消失,字段值横排显示的问题。原写法为${requirements},更改后为{{html requirements}},requirements为字段名。
在列表里面使用jquery-tmpl时,由于其中一列的值里面带有换行,
返回数据后,换行效果消失,字段值显示为一横排。
之前写法:${requirements}
更改之后的写法:{{html requirements}}
其中:requirements为字段名。

被折叠的 条评论
为什么被折叠?