xiaogang 4 年之前
父節點
當前提交
19d2bcea01
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      public/xieyi/content.html

+ 2 - 2
public/xieyi/content.html

@@ -28,8 +28,8 @@
         data:{},
         data:{},
         dataType:'json',
         dataType:'json',
         success:function(res){
         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);
             $('body').append(res.data.content);
         }
         }
     })
     })