فهرست منبع

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

wenmenghao321 1 سال پیش
والد
کامیت
011571e482
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      src/web/templates/pc/messageDetail.html

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

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