From e8992a1d16bff09df08adea681f406cb9c890635 Mon Sep 17 00:00:00 2001 From: huangfe1 <505860922@qq.com> Date: Sat, 30 Nov 2024 11:18:22 +0800 Subject: [PATCH] chore: update modal.vue (#4987) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit loading时候 子组件禁用点击事件 Co-authored-by: Vben --- packages/@core/ui-kit/popup-ui/src/modal/modal.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@core/ui-kit/popup-ui/src/modal/modal.vue b/packages/@core/ui-kit/popup-ui/src/modal/modal.vue index 0e2b2ed4..e701f565 100644 --- a/packages/@core/ui-kit/popup-ui/src/modal/modal.vue +++ b/packages/@core/ui-kit/popup-ui/src/modal/modal.vue @@ -236,7 +236,7 @@ function handleFocusOutside(e: Event) { ref="wrapperRef" :class=" cn('relative min-h-40 flex-1 overflow-y-auto p-3', contentClass, { - 'overflow-hidden': showLoading, + 'pointer-events-none overflow-hidden': showLoading, }) " >