Browse Source

[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
jon-qj 3 years ago
parent
commit
cdcbe84c8a

+ 1 - 1
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 || '')

+ 1 - 2
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 () {