修改接口调用
This commit is contained in:
parent
e5947754ea
commit
d4c499827f
@ -216,8 +216,8 @@ export default class Music extends BaseList<MusicPage> {
|
|||||||
name: item.title || item.name,
|
name: item.title || item.name,
|
||||||
artist: item.artist,
|
artist: item.artist,
|
||||||
url: `/api/v2/getMusic/${item._id}`,
|
url: `/api/v2/getMusic/${item._id}`,
|
||||||
cover: `/api/common/music/album/${item._id}`,
|
cover: `/api/v1/common/music/album/${item._id}`,
|
||||||
lrc: item.lyric_id ? `/api/common/music/lyric/${item.lyric_id}` : undefined
|
lrc: item.lyric_id ? `/api/v1/common/music/lyric/${item.lyric_id}` : undefined
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
// 删除原本可能存在的播放器配置(包含播放地址 时间进度等信息)
|
// 删除原本可能存在的播放器配置(包含播放地址 时间进度等信息)
|
||||||
|
|||||||
@ -151,7 +151,7 @@ export default class SourceImage extends BaseList<Page> {
|
|||||||
preview(row: SourceImageModel): void {
|
preview(row: SourceImageModel): void {
|
||||||
ElMessageBox({
|
ElMessageBox({
|
||||||
title: '图片预览',
|
title: '图片预览',
|
||||||
message: h('img', { style: `width:500px`, src: `/api/common/randomBg?id=${row._id}` }, ''),
|
message: h('img', { style: `width:500px`, src: `/api/v1/common/randomBg?id=${row._id}` }, ''),
|
||||||
showCancelButton: false,
|
showCancelButton: false,
|
||||||
confirmButtonText: '关闭',
|
confirmButtonText: '关闭',
|
||||||
customStyle: {width: '530px'}
|
customStyle: {width: '530px'}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user