2 Commits 61266e77d1 ... 514f728ff4

Author SHA1 Message Date
  zhuxc 514f728ff4 Merge branch 'master' of git.linkerplus.com:zhuxc/linker_erp 7 years ago
  zhuxc 5770f84b7e compmanage/js/controllers.js 7 years ago
1 changed files with 3 additions and 0 deletions
  1. 3 0
      www/apps/compmanage/js/controllers.js

+ 3 - 0
www/apps/compmanage/js/controllers.js

@@ -24,6 +24,9 @@ starter.controller('CompConnectCtrl', function ($scope, $state, $ionicSlideBoxDe
             }, function (err) {
                 alert("GetComp失败: " + JSON.stringify(err));
             })
+        } else {
+            $ionicSlideBoxDelegate.next();
+            $scope.activeIndex = $ionicSlideBoxDelegate.currentIndex();
         }
     };