Skip to content

Commit

Permalink
修正专辑下描述内艺人链接
Browse files Browse the repository at this point in the history
  • Loading branch information
krishukr committed Jan 31, 2024
1 parent fd40a29 commit 3093b6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/CoverRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ export default {
return new Date(item.publishTime).getFullYear();
if (this.subText === 'artist') {
if (item.artist !== undefined)
return `<a href="/#/artist/${item.artist.id}">${item.artist.name}</a>`;
return `<a href="/artist/${item.artist.id}">${item.artist.name}</a>`;
if (item.artists !== undefined)
return `<a href="/#/artist/${item.artists[0].id}">${item.artists[0].name}</a>`;
return `<a href="/artist/${item.artists[0].id}">${item.artists[0].name}</a>`;
}
if (this.subText === 'albumType+releaseYear') {
let albumType = item.type;
Expand Down

0 comments on commit 3093b6f

Please sign in to comment.