From 921936404b704678d350c02ac29c4b93e462226d Mon Sep 17 00:00:00 2001 From: "eason.qian" Date: Fri, 6 Apr 2018 11:45:52 +0800 Subject: [PATCH] fix --- src/main/ui/static/boot/indexMainApp.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/ui/static/boot/indexMainApp.js b/src/main/ui/static/boot/indexMainApp.js index 3edbbe8bf..7737488a4 100644 --- a/src/main/ui/static/boot/indexMainApp.js +++ b/src/main/ui/static/boot/indexMainApp.js @@ -45,6 +45,7 @@ define(['angular', 'angularSanitize', 'angularAnimate', 'angularMessages', 'uiRo if ($scope.currentUser.role == 1 || $scope.currentUser.role == 2) { $scope.getAgStatus(); } + }, function (resp) { if (resp.status == 403) { location.href = 'login.html?f=' + encodeURIComponent(location.href);