Browse Source

提交文本输出替换为标签输出

wenmenghao321 1 năm trước cách đây
mục cha
commit
011571e482

+ 2 - 2
src/web/templates/pc/messageDetail.html

@@ -98,9 +98,9 @@
       success:function (res) {
       success:function (res) {
         var data = res.data
         var data = res.data
         if (data) {
         if (data) {
-          $('.msg-title').text(data.title)
+          $('.msg-title').html(data.title)
           $('.msg-date').text(dateMatter(data.createtime || Date.now()))
           $('.msg-date').text(dateMatter(data.createtime || Date.now()))
-          $('.msg-content').text(data.content)
+          $('.msg-content').html(data.content)
         }
         }
       },
       },
       error:function () {}
       error:function () {}