|
@@ -4,6 +4,7 @@
|
|
|
:url-list="urlList"
|
|
:url-list="urlList"
|
|
|
:initial-index="initialIndex"
|
|
:initial-index="initialIndex"
|
|
|
teleported
|
|
teleported
|
|
|
|
|
+ :z-index="zIndex"
|
|
|
@close="handleClose"
|
|
@close="handleClose"
|
|
|
/>
|
|
/>
|
|
|
</template>
|
|
</template>
|
|
@@ -15,8 +16,10 @@ withDefaults(
|
|
|
visible: boolean;
|
|
visible: boolean;
|
|
|
urlList: string[];
|
|
urlList: string[];
|
|
|
initialIndex?: number;
|
|
initialIndex?: number;
|
|
|
|
|
+ /** 高于 el-table fixed 列、侧栏等,避免预览被盖住 */
|
|
|
|
|
+ zIndex?: number;
|
|
|
}>(),
|
|
}>(),
|
|
|
- { initialIndex: 0 }
|
|
|
|
|
|
|
+ { initialIndex: 0, zIndex: 5000 }
|
|
|
);
|
|
);
|
|
|
|
|
|
|
|
const emit = defineEmits<{
|
|
const emit = defineEmits<{
|