更新时间:2022-12-07 21:47:08
您需要添加其他参数:
$http.get(url).then( function(response) { console.log('get',response) }, function(data) { // Handle error here })
AngularJS http get 中的错误处理然后构造
AngularJS http get中的错误处理然后构造