fixed undefined variable error in Admin UI

pull/63/MERGE
13621160019@163.com 2021-08-25 16:35:44 +08:00
parent b389887b50
commit 3ef7ce386b
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);
}