feat(components): show coAuthor in story info (if any)
This commit is contained in:
parent
83c1379ba6
commit
d2b4476b43
@ -11,6 +11,9 @@
|
||||
<a-descriptions :label-style="{ fontWeight: 'bold' }" :colon="false" :column="1">
|
||||
<a-descriptions-item label="Author">
|
||||
<nuxt-link :to="`/user/${story?.author._id}`">{{ story?.author.username }}</nuxt-link>
|
||||
<span v-if="story.coAuthor">
|
||||
& <nuxt-link :to="`/user/${story.coAuthor._id}`">{{ story.coAuthor.username }}</nuxt-link>
|
||||
</span>
|
||||
</a-descriptions-item>
|
||||
<a-descriptions-item label="Bands">
|
||||
<div class="wrapLong" v-for="(item, index) in story?.currentChapter.bands">
|
||||
|
Loading…
Reference in New Issue
Block a user