如何通过AngularJs从后台取数据

2025-04-03 08:07:04
推荐回答(1个)
回答1:

queryLogistcs.do返回一个字符串即可
例如:[{name:"申通"},{name:"圆通"},{name:"中通"},{name:"顺丰"},{name:"EMS"},{name:"韵达"},{name:"汇通"}]
$scope.sel=data.data.name改为$scope.sel=data