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);
         }
     })