From baf2b6cd9b7e5bb8bb7f824bcea65b6d6f4b929c Mon Sep 17 00:00:00 2001 From: ibuler Date: Wed, 17 Apr 2024 14:22:07 +0800 Subject: [PATCH] perf: view secret request many times --- src/components/Apps/UserConfirmDialog/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Apps/UserConfirmDialog/index.vue b/src/components/Apps/UserConfirmDialog/index.vue index f9f7d31f7..f71ec89c8 100644 --- a/src/components/Apps/UserConfirmDialog/index.vue +++ b/src/components/Apps/UserConfirmDialog/index.vue @@ -121,7 +121,7 @@ export default { } }, mounted() { - this.$eventBus.$on('showConfirmDialog', this.performConfirm) + this.$eventBus.$on('showConfirmDialog', _.debounce(this.performConfirm)) }, methods: { handleSubTypeChange(val) {