修复列表无法重命名的问题
parent
30787a372e
commit
b783c0c227
|
@ -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])
|
||||||
|
|
Loading…
Reference in New Issue