From 7e404d685f78d154961fe4d88c47d3f8dd88b782 Mon Sep 17 00:00:00 2001 From: "eason.qian" Date: Fri, 6 Apr 2018 08:09:07 +0800 Subject: [PATCH] fix --- src/main/ui/static/boot/indexMainApp.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/ui/static/boot/indexMainApp.js b/src/main/ui/static/boot/indexMainApp.js index ca8629687..db120c1d8 100644 --- a/src/main/ui/static/boot/indexMainApp.js +++ b/src/main/ui/static/boot/indexMainApp.js @@ -131,7 +131,9 @@ define(['angular', 'angularSanitize', 'angularAnimate', 'angularMessages', 'uiRo }); }; - $scope.getAgStatus(); + if ($scope.currentUser.role == 1 || $scope.currentUser.role == 2) { + $scope.getAgStatus(); + } $scope.refundNotice = {counts: 0}; $scope.openRefundNotice = false; $scope.showRefundNotice = function () {