fix: prevent log dialog from closing on outside click (#146)

This commit is contained in:
duorameng
2026-07-06 08:18:05 +08:00
parent 07b368ed17
commit fbe445a881
+1 -2
View File
@@ -57,8 +57,7 @@ onUnmounted(() => {
<template>
<Teleport to="body">
<div v-if="open" class="fixed inset-0 z-50 flex items-center justify-center bg-black/50 p-0 sm:p-4"
@click.self="close">
<div v-if="open" class="fixed inset-0 z-50 flex items-center justify-center bg-black/50 p-0 sm:p-4">
<div
:class="[
'bg-background shadow-2xl flex flex-col transition-all duration-300 overflow-hidden',