fixed undefined variable error in Admin UI

Merge branch 'develop'
pull/64/head
13621160019@163.com 2021-08-25 16:38:01 +08:00
commit 0da0eaf1c4
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ app.controller('CombinedEquipmentMeterController', function ($scope, $timeout, $
CombinedEquipmentMeterService.getMetersByCombinedEquipmentID(id, value, function (response) {
if (angular.isDefined(response.status) && response.status === 200) {
angular.forEach(response.data, function (item, indx) {
data[indx].metertype = value;
response.data[indx].metertype = value;
});
$scope.combinedequipmentmeters = $scope.combinedequipmentmeters.concat(response.data);
}