xiaogang před 4 roky
rodič
revize
19d2bcea01
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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);
         }
     })