weh
This commit is contained in:
parent
46cc9a22a9
commit
c8613a771f
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div class="star"></div>
|
||||
<router-link :to="'/visit/' + id" class="star"></router-link>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
|
@ -9,6 +9,7 @@ export default defineComponent({
|
|||
name: "SmallStar",
|
||||
props: {
|
||||
color: String,
|
||||
id: Number,
|
||||
},
|
||||
});
|
||||
</script>
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<SmallStar
|
||||
v-for="star in store.protostars"
|
||||
:key="star.id"
|
||||
:id="star.id"
|
||||
:color="star.color"
|
||||
/>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue