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
2.0.7-release
jon-qj 3 years ago committed by GitHub
parent
commit
cdcbe84c8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/_source/createUser.vue
  2. 3
      dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/index.vue

2
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 || '')

3
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 () {

Loading…
Cancel
Save