你可以使用$ q的'all'功能:
var a = $http.get(DataElementUrl).then(function (response) { if (!response.data == "") dataElementJson = response.data; }); var b = $http.get(categoryComboUrl).then(function (response) { if (!response.data == "") categoryComboJson = response.data; }); var c = $http.get(categoryUrl).then(function (response) { if (!response.data == "") categoryJson = response.data; }); $q.all([a, b,c]).then(function(result) { check++; $scope.getJson(); });