fix lost header for t-image-viewer

This commit is contained in:
Timi
2026-09-22 00:24:28 +08:00
parent 997e779af9
commit 9d5f04bf7c
4 changed files with 14 additions and 18 deletions
+2 -2
View File
@@ -2,13 +2,13 @@
<div v-if="customer" class="customer-profile-card">
<div v-if="photoURL" class="avatar-trigger" @click="handlePhotoClick">
<t-image :src="photoURL" :alt="customerName" fit="cover" class="avatar" />
<div @click.stop>
<teleport to="body">
<t-image-viewer
v-model:visible="photoViewerVisible"
:images="photoViewerImages"
show-index
/>
</div>
</teleport>
</div>
<div v-else class="avatar fallback" v-text="avatarText" />
<div class="content">