fix clearing

master
luoyang 6 years ago
parent 4a36fa5cc0
commit 35c5ac5155

@ -283,7 +283,7 @@ define(['angular', 'decimal', 'uiBootstrap', 'uiRouter', 'angularEcharts'], func
$scope.packup = function(key) { $scope.packup = function(key) {
$scope.endIndexMap[key] = $scope.initEndIndex; $scope.endIndexMap[key] = $scope.initEndIndex;
var length = $scope.clientsMap[key]; var length = $scope.clientsMap[key].clients;
if (length <= $scope.initEndIndex) if (length <= $scope.initEndIndex)
$scope.endIndexMap[key] = length; $scope.endIndexMap[key] = length;
}; };

Loading…
Cancel
Save