Browse Source

退出或认证失败时,改刷新为直接跳转登录界面

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@3084 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
yingp 10 years ago
parent
commit
6045eccd92
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/webapp/resources/js/index/mobile.index.app.js

+ 1 - 1
src/main/webapp/resources/js/index/mobile.index.app.js

@@ -236,7 +236,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'service/Purc', 'ser
 		};
 	}]);
 	
-	app.controller('AuthCtrl', ['$scope', '$window', 'AuthenticationService', '$modal',  function($scope, $window, AuthenticationService, $modal) {
+	app.controller('AuthCtrl', ['$scope', '$window', 'AuthenticationService', '$modal',  'BaseService', function($scope, $window, AuthenticationService, $modal, BaseService) {
 		$scope.isAuthed = AuthenticationService.isAuthed();		//AuthenticationService模块在common/下
 		$scope.userInfo = {};
 		AuthenticationService.getAuthentication().success(function(data) {