lrf402788946 4 jaren geleden
bovenliggende
commit
ee984a0580
1 gewijzigde bestanden met toevoegingen van 7 en 0 verwijderingen
  1. 7 0
      public/home.html

+ 7 - 0
public/home.html

@@ -73,6 +73,13 @@
         contentType:'application/json',
         success:function(res){
           console.log(res);
+          if(res.errcode =='0') {
+            if(res.data.length>0) {
+              var head = res.data[0];
+              $('.notice').text(head.title)
+            }
+          }
+
         },
         error:function (e) {
           console.error(e)