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

leonbao 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 cdcbe84  [Fix] [#6219] modify user's information and DS's page shows 
wrong information at the frond-end (#6341)
cdcbe84 is described below

commit cdcbe84c8a1bb1e5286568f42d2eb2ff530dbe6a
Author: jon-qj <[email protected]>
AuthorDate: Mon Sep 27 23:31:06 2021 +0800

    [Fix] [#6219] modify user's information and DS's page shows wrong 
information at the frond-end (#6341)
    
    * provide the default value(task.plugin.dir)
    
    * unset user information
    
    * unset user information
---
 .../src/js/conf/home/pages/security/pages/users/_source/createUser.vue | 2 +-
 .../src/js/conf/home/pages/security/pages/users/index.vue              | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git 
a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/_source/createUser.vue
 
b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/_source/createUser.vue
index 53db31c..88f69fe 100644
--- 
a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/_source/createUser.vue
+++ 
b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/_source/createUser.vue
@@ -272,7 +272,7 @@
 
         this.store.dispatch(`security/${this.item ? 'updateUser' : 
'createUser'}`, param).then(res => {
           this.$refs.popover.spinnerLoading = false
-          this.$emit('onUpdate', param)
+          this.$emit('onUpdate')
           this.$message.success(res.msg)
         }).catch(e => {
           this.$message.error(e.msg || '')
diff --git 
a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/index.vue 
b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/index.vue
index f078901..58bcb86 100644
--- a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/index.vue
+++ b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/index.vue
@@ -114,9 +114,8 @@
         this.item = item
         this.createUserDialog = true
       },
-      onUpdate (param) {
+      onUpdate () {
         this._debounceGET('false')
-        this.setUserInfo(param)
         this.createUserDialog = false
       },
       close () {

Reply via email to