1
0
Эх сурвалжийг харах

feature: add email for select user on apollo portal (#3797)

* user selector add email

* update changes
vdisk-group 3 жил өмнө
parent
commit
39aa56001f

+ 1 - 0
CHANGES.md

@@ -51,6 +51,7 @@ Apollo 1.9.0
 * [feature: add Spring Boot 2.4 config data loader support](https://github.com/ctripcorp/apollo/pull/3754)
 * [feat(open-api): get authorized apps](https://github.com/ctripcorp/apollo/pull/3647)
 * [feature: shared session for multi apollo portal](https://github.com/ctripcorp/apollo/pull/3786)
+* [feature: add email for select user on apollo portal](https://github.com/ctripcorp/apollo/pull/3797)
 ------------------
 All issues and pull requests are [here](https://github.com/ctripcorp/apollo/milestone/6?closed=1)
 

+ 2 - 2
apollo-portal/src/main/resources/static/scripts/directive/directive.js

@@ -295,7 +295,7 @@ directive_module.directive('apollouserselector', function ($compile, $window,App
                         data.forEach(function (user) {
                             users.push({
                                 id: user.userId,
-                                text: user.userId + " | " + user.name
+                                text: user.userId + " | " + user.name + " | " + user.email
                             })
                         });
                         return {
@@ -346,7 +346,7 @@ directive_module.directive('apollomultipleuserselector', function ($compile, $wi
                         data.forEach(function (user) {
                             users.push({
                                 id: user.userId,
-                                text: user.userId + " | " + user.name
+                                text: user.userId + " | " + user.name + " | " + user.email
                             })
                         });
                         return {