소스 검색

xielianghe

lange 5 년 전
부모
커밋
3bebe5c167
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      whepi-ui/templates/home/ribao.js

+ 2 - 2
whepi-ui/templates/home/ribao.js

@@ -226,12 +226,12 @@ function ribao_refrash() {
     success: function (data) {
       console.log(data);
       if (data.data == undefined) {
-        $('#ribao_famliy').empty();
+        $('#rb_family').empty();
       }
       else {
+        $('#rb_family').empty();
         if (data.data.length > 0) {
           hasData = true;
-          $('#rb_family').empty();
           data.data.forEach(function (v) {
             ribao_cell(v);
           });