[lint] Enable plugin vue recommended rules (#3403)

This commit is contained in:
Chenlei Hu
2025-04-11 12:53:20 -04:00
committed by GitHub
parent dc5d7ea1be
commit a03841cb1a
121 changed files with 691 additions and 668 deletions

View File

@@ -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>