refactor(ChangeLog): update list

This commit is contained in:
thehrz 2023-07-11 14:42:03 +08:00
parent 999b28dc60
commit f04d097c0c
No known key found for this signature in database
GPG Key ID: 683658B4CAC43158

View File

@ -18,9 +18,10 @@ const { isFetching, data } = useFetch('https://git.thehrz.net/api/v1/repos/thehr
<p v-if="isFetching"> <p v-if="isFetching">
Loading... Loading...
</p> </p>
<v-list v-else color="primary"> <v-list v-else>
<v-list-item <v-list-item
v-for="commit in data" :key="commit.commit.message" :title="commit.commit.message" v-for="commit in data"
:key="commit.commit.message" :title="commit.commit.message"
:subtitle="`${commit.sha.slice(0, 6)} ${commit.author.username}`" :subtitle="`${commit.sha.slice(0, 6)} ${commit.author.username}`"
/> />
</v-list> </v-list>