Showing
1 changed file
with
7 additions
and
1 deletions
@@ -133,7 +133,13 @@ webpackJsonp([0],[ | @@ -133,7 +133,13 @@ webpackJsonp([0],[ | ||
133 | }, { | 133 | }, { |
134 | display: '评价内容', | 134 | display: '评价内容', |
135 | render: function (item) { | 135 | render: function (item) { |
136 | - return encodeHtml(item.content); | 136 | + var content = encodeHtml(item.content); |
137 | + var sensitiveWord = item.sensitiveWord; | ||
138 | + var contentFinal = content; | ||
139 | + if(item.sensitiveWord && item.sensitiveWord != ""){ | ||
140 | + contentFinal = contentFinal + "<br><br>" + '<font color="red">' + "敏感词:" + sensitiveWord + '</font>'; | ||
141 | + } | ||
142 | + return contentFinal; | ||
137 | }, | 143 | }, |
138 | style: "width:15%; word-break:break-all;" | 144 | style: "width:15%; word-break:break-all;" |
139 | } | 145 | } |
-
Please register or login to post a comment