* provide the default value(task.plugin.dir) * unset user information * unset user information
@@ -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 || '')
@@ -114,9 +114,8 @@
this.item = item
this.createUserDialog = true
},
- onUpdate (param) {
+ onUpdate () {
this._debounceGET('false')
- this.setUserInfo(param)
this.createUserDialog = false
close () {