@@ -14589,12 +14589,8 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
};
$scope.enSure = function () {
- $modalInstance.close($scope.result.products);
- }
-
- // 点击确定时增加加载标志
- $scope.addClass = function() {
$scope.loading = true;
+ $modalInstance.close($scope.result.products);
}
$scope.cancel = function () {
@@ -67,7 +67,7 @@
</div>
<div class="modal-footer Deputy">
<div class="text-center">
- <button class="btn btn-success btn-sm" ng-click=" addClass(); enSure()" type="button">确定</button>
+ <button class="btn btn-success btn-sm" ng-click="enSure()" type="button">确定</button>
<button class="btn btn-danger btn-sm" ng-click="cancel()" type="button">取消</button>