xiaogang 3 years ago
parent
commit
8c249b7fb2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      public/web/index.html

+ 1 - 1
public/web/index.html

xqd
@@ -126,7 +126,7 @@
            console.log(res)
             //$('.neir').append(res.data.content);
             var hobby_con = "";
-            if(res.hobby.length()>0){
+            if(res.hobby.length>0){
                 for (var i=0;i<res.hobby.length;i++) {
                     hobby_con += '<div class="list-item">'+res.hobby[i]+'</div>';
                 }