mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-07-12 07:51:22 +08:00
fix bug
This commit is contained in:
@@ -487,11 +487,14 @@ function getYear(airDate: string) {
|
|||||||
</VCardTitle>
|
</VCardTitle>
|
||||||
<VCardText>
|
<VCardText>
|
||||||
<VList
|
<VList
|
||||||
v-model="seasonsSelected"
|
v-model:selected="seasonsSelected"
|
||||||
multiple
|
|
||||||
lines="three"
|
lines="three"
|
||||||
|
select-strategy="classic"
|
||||||
>
|
>
|
||||||
<VListItem v-for="(item, i) in seasonInfos" :key="i">
|
<VListItem
|
||||||
|
v-for="(item, i) in seasonInfos" :key="i"
|
||||||
|
:value="item"
|
||||||
|
>
|
||||||
<template #prepend>
|
<template #prepend>
|
||||||
<VImg
|
<VImg
|
||||||
height="90"
|
height="90"
|
||||||
@@ -535,9 +538,9 @@ function getYear(airDate: string) {
|
|||||||
{{ getExistText(item.season_number || 0) }}
|
{{ getExistText(item.season_number || 0) }}
|
||||||
</VChip>
|
</VChip>
|
||||||
</VListItemSubtitle>
|
</VListItemSubtitle>
|
||||||
<template #append>
|
<template #append="{ isSelected }">
|
||||||
<VListItemAction start>
|
<VListItemAction start>
|
||||||
<VSwitch v-model="seasonsSelected" :value="item.season_number" />
|
<VSwitch :model-value="isSelected" />
|
||||||
</VListItemAction>
|
</VListItemAction>
|
||||||
</template>
|
</template>
|
||||||
</VListItem>
|
</VListItem>
|
||||||
|
|||||||
Reference in New Issue
Block a user