mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-04 16:30:42 +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() {
|
mounted() {
|
||||||
// const onRecvCallback = _.debounce(this.performConfirm, 500)
|
|
||||||
this.$eventBus.$on('showConfirmDialog', this.performConfirm)
|
this.$eventBus.$on('showConfirmDialog', this.performConfirm)
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@@ -201,6 +200,7 @@ export default {
|
|||||||
}
|
}
|
||||||
this.$axios.post(`/api/v1/authentication/confirm/`, data).then(res => {
|
this.$axios.post(`/api/v1/authentication/confirm/`, data).then(res => {
|
||||||
this.callback()
|
this.callback()
|
||||||
|
this.secretValue = ''
|
||||||
this.visible = false
|
this.visible = false
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user