/lib/update
This commit is contained in:
parent
3656f91370
commit
b0370df011
@ -323,7 +323,7 @@ async function saveLyric() {
|
||||
}
|
||||
async function saveMusicLib(row: MusicModel) {
|
||||
if (!currentRow.value) return
|
||||
await http.post<{id: string, libId: string}, any>('/api/v2/music/updateLib', {id: currentRow.value._id, libId: currentRow.value.libId})
|
||||
await http.post<{id: string, libId: string}, any>('/api/v2/music/lib/update', {id: currentRow.value._id, libId: currentRow.value.libId})
|
||||
ElMessage.success("歌单更新成功")
|
||||
row.libId = currentRow.value.libId
|
||||
row.isEditing = false
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user