xiaogang 4 سال پیش
والد
کامیت
19d2bcea01
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  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);
         }
     })