修复列表无法重命名的问题

pull/733/head
lyswhut 2021-12-27 15:57:02 +08:00
parent 30787a372e
commit b783c0c227
1 changed files with 1 additions and 1 deletions

View File

@ -347,7 +347,7 @@ const mutations = {
}) })
} }
let list = userLists[id] let list = userLists.find(l => l.id === id)
if (!list) return if (!list) return
list.name = name list.name = name
window.eventHub.emit(eventListNames.listChange, [id]) window.eventHub.emit(eventListNames.listChange, [id])