mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2024-11-22 13:36:20 +08:00
修正专辑下描述内艺人链接
This commit is contained in:
parent
fd40a29180
commit
3093b6f386
|
@ -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…
Reference in New Issue
Block a user