[问题] anglural 新手问题...

楼主: hope0330 (MMMM)   2016-05-28 16:34:40
<td>{{data.name}}</td>
<td>{{data.author}}</td>
</tr>
</table>
</div>
</body>
JS部分:
$scope.showList = function(){
$http({
url:'http://localhost:2000/book',
method:'GET',
}).then(function(success_response){
console.log(success_response);
$scope.list = success_response.data;
}, function(err_response){
console.log(err_response);
})
}
作者: aaa7513231 (浑沌与秩序)   2016-05-28 17:28:00
问题是?
作者: ccvs (kisS x Sis)   2016-05-30 01:17:00
angular也拼错...
作者: feelined (CRR)   2016-05-30 09:56:00
根本连{{}}内的参数都没对到...这问题是...?

Links booklink

Contact Us: admin [ a t ] ucptt.com