mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-31 14:38:02 +00:00
Merge pull request #3530 from jumpserver/pr@dev@fix_user_confirm_dialog
perf: 优化用户确认窗口
This commit is contained in:
@@ -121,7 +121,6 @@ export default {
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
// const onRecvCallback = _.debounce(this.performConfirm, 500)
|
||||
this.$eventBus.$on('showConfirmDialog', this.performConfirm)
|
||||
},
|
||||
methods: {
|
||||
@@ -201,6 +200,7 @@ export default {
|
||||
}
|
||||
this.$axios.post(`/api/v1/authentication/confirm/`, data).then(res => {
|
||||
this.callback()
|
||||
this.secretValue = ''
|
||||
this.visible = false
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user