歌手链接
This commit is contained in:
20
src/components/ArtistsSpan.vue
Normal file
20
src/components/ArtistsSpan.vue
Normal file
@@ -0,0 +1,20 @@
|
||||
<script setup>
|
||||
|
||||
</script>
|
||||
<template>
|
||||
<template v-for="(ar, idx) of artists" key="idx">
|
||||
<span
|
||||
@click="$router.push('/songer/' + ar.id)"
|
||||
style="margin-right: 4px; cursor: pointer"
|
||||
>{{ ar.name }}</span
|
||||
>
|
||||
</template>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: ["artists"],
|
||||
};
|
||||
</script>
|
||||
|
||||
<style></style>
|
||||
Reference in New Issue
Block a user