chore: update modal.vue (#4987)

loading时候 子组件禁用点击事件

Co-authored-by: Vben <ann.vben@gmail.com>
This commit is contained in:
huangfe1
2024-11-30 11:18:22 +08:00
committed by GitHub
parent 3c4af23edf
commit e8992a1d16

View File

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