This is an automated email from the ASF dual-hosted git repository.

kirs pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new bae047e  [Improvement][UI] Update the update time after the user 
information is successfully modified (#5684)
bae047e is described below

commit bae047e4a38e4d0e985fad2fcc0d184cf9ca8b53
Author: kyoty <[email protected]>
AuthorDate: Thu Jun 24 15:36:06 2021 +0800

    [Improvement][UI] Update the update time after the user information is 
successfully modified (#5684)
    
    * improve
    
    edit the userinfo success, but the updatetime is not the latest.
---
 .../src/js/conf/home/pages/user/pages/account/_source/info.vue     | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git 
a/dolphinscheduler-ui/src/js/conf/home/pages/user/pages/account/_source/info.vue
 
b/dolphinscheduler-ui/src/js/conf/home/pages/user/pages/account/_source/info.vue
index ce9e1fb..5f30ed8 100644
--- 
a/dolphinscheduler-ui/src/js/conf/home/pages/user/pages/account/_source/info.vue
+++ 
b/dolphinscheduler-ui/src/js/conf/home/pages/user/pages/account/_source/info.vue
@@ -80,7 +80,7 @@
   </div>
 </template>
 <script>
-  import { mapState, mapMutations } from 'vuex'
+  import { mapActions, mapState, mapMutations } from 'vuex'
   import mListBoxF from '@/module/components/listBoxF/listBoxF'
   import mCreateUser from 
'@/conf/home/pages/security/pages/users/_source/createUser'
 
@@ -95,6 +95,7 @@
     props: {},
     methods: {
       ...mapMutations('user', ['setUserInfo']),
+      ...mapActions('user', ['getUserInfo']),
       /**
        * edit
        */
@@ -109,7 +110,9 @@
           email: param.email,
           phone: param.phone
         })
-        this.createUserDialog = false
+        this.getUserInfo().finally(() => {
+          this.createUserDialog = false
+        })
       },
 
       close () {

Reply via email to