Merge pull request #3530 from jumpserver/pr@dev@fix_user_confirm_dialog

perf: 优化用户确认窗口
This commit is contained in:
老广
2023-11-14 14:23:22 +08:00
committed by GitHub

View File

@@ -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
})
}