diff --git a/apollo-portal/src/main/resources/static/scripts/controller/UserController.js b/apollo-portal/src/main/resources/static/scripts/controller/UserController.js index a4fb38eabce..6b70008b850 100644 --- a/apollo-portal/src/main/resources/static/scripts/controller/UserController.js +++ b/apollo-portal/src/main/resources/static/scripts/controller/UserController.js @@ -24,10 +24,8 @@ function UserController($scope, $window, $translate, toastr, AppUtil, UserServic $scope.createdUsers = []; $scope.filterUser = []; $scope.status = '1' - $scope.showSearchUsernameInput = false $scope.searchKey = '' $scope.changeStatus = changeStatus - $scope.toggleUsernameSearchInput = toggleUsernameSearchInput $scope.searchUsers = searchUsers $scope.resetSearchUser = resetSearchUser @@ -70,10 +68,6 @@ function UserController($scope, $window, $translate, toastr, AppUtil, UserServic } } - function toggleUsernameSearchInput() { - $scope.showSearchUsernameInput = !$scope.showSearchUsernameInput - } - function searchUsers() { $scope.searchKey = $scope.searchKey.toLowerCase(); var filterUser = [] diff --git a/apollo-portal/src/main/resources/static/user-manage.html b/apollo-portal/src/main/resources/static/user-manage.html index 634a5d71b02..645c4c14d32 100644 --- a/apollo-portal/src/main/resources/static/user-manage.html +++ b/apollo-portal/src/main/resources/static/user-manage.html @@ -53,25 +53,23 @@ class="btn btn-primary"> {{'UserMange.Add' | translate }} - +
-{{'UserMange.UserName' | translate }} |
---|