fix style

This commit is contained in:
Timi
2026-09-30 11:51:41 +08:00
parent 813bbbf324
commit c8e0c554b3
8 changed files with 40 additions and 6 deletions
@@ -37,6 +37,7 @@
v-model:visible="photoViewerVisible"
:images="photoViewerImages"
:items="photoViewerItems"
:viewer-z-index="props.viewerZIndex"
:show-actions="showViewerActions === true"
:submitting="isSubmitting"
@change-type="changePhotoType"
@@ -75,6 +76,7 @@ interface Props {
showTypeLabel?: boolean;
submit?: (photoItems: PhotoItem[]) => Promise<void>;
title?: string;
viewerZIndex?: number;
}
const props = withDefaults(defineProps<Props>(), {
@@ -3,6 +3,7 @@
<t-image-viewer
v-model:visible="viewerVisible"
:images="images"
:style="{ zIndex: props.viewerZIndex }"
show-index
@close="handleClose"
@index-change="handleIndexChange"
@@ -103,6 +104,7 @@ interface Props {
showActions: boolean;
submitting: boolean;
visible: boolean;
viewerZIndex?: number;
}
const props = defineProps<Props>();