mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-09 06:30:40 +08:00
docs: support multiple author
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<span class="badge">
|
<span class="badge">
|
||||||
By <a :href="`https://github.com/${uid}`" target="_blank">@{{ uid }}</a>
|
By<a v-for="uid in uidList" :href="`https://github.com/${uid}`" target="_blank"> @{{ uid }}</a>
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -11,6 +11,11 @@ export default {
|
|||||||
type: String,
|
type: String,
|
||||||
default: 'DIYgod'
|
default: 'DIYgod'
|
||||||
},
|
},
|
||||||
|
},
|
||||||
|
computed: {
|
||||||
|
uidList: function () {
|
||||||
|
return this.uid.split(' ')
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user