我尝试过以下各种变体并获得:
angular.forEach($scope.icons, function (item) {
angular.forEach(item.bonuses, function (bonusLine) {
if (bonusData.indexOf(bonusLine) == -1 && bonusLine.name !== '') {
bonusData.push(bonusLine);
}
})
});
使用:
CONNECT ERROR: ConnectionError: Failed to connect to 192.168.1.5:53394 in 15000ms