mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 13:17:46 +00:00
修正专辑下描述内艺人链接
This commit is contained in:
parent
fd40a29180
commit
3093b6f386
1 changed files with 2 additions and 2 deletions
|
|
@ -75,9 +75,9 @@ export default {
|
||||||
return new Date(item.publishTime).getFullYear();
|
return new Date(item.publishTime).getFullYear();
|
||||||
if (this.subText === 'artist') {
|
if (this.subText === 'artist') {
|
||||||
if (item.artist !== undefined)
|
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)
|
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') {
|
if (this.subText === 'albumType+releaseYear') {
|
||||||
let albumType = item.type;
|
let albumType = item.type;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue