(function($){ ? var GETCLASSES="http://imoocnote.calfnote.com/inter/getClasses.php"; ? ?$.ajax({ ? ? ? ?url:GETCLASSES, ? ? ? ?data:{curPage:1}, ? ? ? ?success:function(data){ ? ? ? ? ? ?var t=$("#class-template").html(); ? ? ? ? ? ?var f=Handlebars.compile(t); ? ? ? ? ? ?var h=f(data.data); ? ? ? ? ? ?console.log(h); ? ? ? ? ? ?$("#classes").html(h); ? ? ? ?} ? ?})})(jQuery);
為什么我這個(gè)h打出來只有一對ul空標(biāo)簽啊,有哥們知道嗎
慕粉1469629302
2017-09-13 23:06:24