xiaogang 4 năm trước cách đây
mục cha
commit
19d2bcea01
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      public/xieyi/content.html

+ 2 - 2
public/xieyi/content.html

xqd
@@ -28,8 +28,8 @@
         data:{},
         dataType:'json',
         success:function(res){
-            $('title').append(res.data.title);
-            $('h4').append(res.data.title);
+            $('title').html(res.data.title);
+            $('h4').html(res.data.title);
             $('body').append(res.data.content);
         }
     })