fix live detail loading

This commit is contained in:
2023-12-22 15:37:26 +08:00
parent 0c62ad8685
commit ee93182b54
9 changed files with 56 additions and 44 deletions

View File

@@ -39,6 +39,7 @@ function OnClickCover(live: ResponseLiveInfoModel) {
params: { id: live.liveId },
})
}
</script>
<template>
@@ -54,7 +55,7 @@ function OnClickCover(live: ResponseLiveInfoModel) {
<NDivider />
<NList bordered hoverable clickable>
<NListItem @click="OnClickCover(live)" v-for="live in lives" v-bind:key="live.liveId">
<LiveInfoContainer :live="live" />
<LiveInfoContainer :live="live" :key="live.liveId"/>
</NListItem>
</NList>
</template>