/lib/update

This commit is contained in:
灌糖包子 2026-04-01 10:25:14 +08:00
parent 3656f91370
commit b0370df011
Signed by: sookie
GPG Key ID: 67E8D0AE905C79B0

View File

@ -323,7 +323,7 @@ async function saveLyric() {
} }
async function saveMusicLib(row: MusicModel) { async function saveMusicLib(row: MusicModel) {
if (!currentRow.value) return 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("歌单更新成功") ElMessage.success("歌单更新成功")
row.libId = currentRow.value.libId row.libId = currentRow.value.libId
row.isEditing = false row.isEditing = false