fix(InstalledAppsModal): 添加点击遮罩层关闭模态框功能

This commit is contained in:
2026-03-29 18:26:39 +08:00
parent 29460e727b
commit cbea4745a5

View File

@@ -10,6 +10,7 @@
<div <div
v-if="show" v-if="show"
class="fixed inset-0 z-50 flex items-start justify-center bg-slate-900/70 px-4 py-10" class="fixed inset-0 z-50 flex items-start justify-center bg-slate-900/70 px-4 py-10"
@click.self="$emit('close')"
> >
<div <div
class="flex w-full max-w-4xl max-h-[85vh] flex-col rounded-3xl border border-white/10 bg-white/95 shadow-2xl dark:border-slate-800 dark:bg-slate-900" class="flex w-full max-w-4xl max-h-[85vh] flex-col rounded-3xl border border-white/10 bg-white/95 shadow-2xl dark:border-slate-800 dark:bg-slate-900"