mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-29 02:32:18 +00:00
[lint] Enable plugin vue recommended rules (#3403)
This commit is contained in:
@@ -1,16 +1,14 @@
|
||||
<template>
|
||||
<Galleria
|
||||
v-model:visible="galleryVisible"
|
||||
@update:visible="handleVisibilityChange"
|
||||
:activeIndex="activeIndex"
|
||||
@update:activeIndex="handleActiveIndexChange"
|
||||
:active-index="activeIndex"
|
||||
:value="allGalleryItems"
|
||||
:showIndicators="false"
|
||||
changeItemOnIndicatorHover
|
||||
showItemNavigators
|
||||
fullScreen
|
||||
:show-indicators="false"
|
||||
change-item-on-indicator-hover
|
||||
show-item-navigators
|
||||
full-screen
|
||||
circular
|
||||
:showThumbnails="false"
|
||||
:show-thumbnails="false"
|
||||
:pt="{
|
||||
mask: {
|
||||
onMousedown: onMaskMouseDown,
|
||||
@@ -24,15 +22,17 @@
|
||||
style: 'position: fixed !important'
|
||||
}
|
||||
}"
|
||||
@update:visible="handleVisibilityChange"
|
||||
@update:active-index="handleActiveIndexChange"
|
||||
>
|
||||
<template #item="{ item }">
|
||||
<ComfyImage
|
||||
v-if="item.isImage"
|
||||
:key="item.url"
|
||||
:src="item.url"
|
||||
:contain="false"
|
||||
:alt="item.filename"
|
||||
class="galleria-image"
|
||||
v-if="item.isImage"
|
||||
/>
|
||||
<ResultVideo v-else-if="item.isVideo" :result="item" />
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user