This commit is contained in:
zyronon
2023-12-13 17:42:17 +08:00
parent 1a70c9af45
commit 2baf00e780
3 changed files with 8 additions and 3 deletions

View File

@@ -53,7 +53,7 @@ defineExpose({scrollToBottom, scrollToItem})
<VolumeIcon class="volume" @click="playWordAudio(item.name)"></VolumeIcon>
</div>
<div class="item-sub-title" v-if="item.trans.length && showTranslate">
<div v-for="tran in item.trans">{{ tran }}</div>
<div v-for="v in item.trans">{{ (v.pos ? v.pos + '.' : '') + v.cn }}</div>
</div>
</template>
<template v-slot:suffix="{ item, index }">