fix(Collection#remove): properly report the key in related event
This commit is contained in:
parent
61c61adea1
commit
70e73a5a65
@ -319,7 +319,7 @@ export default class Collection extends EventEmitter {
|
||||
_remove (key) {
|
||||
delete this._items[key]
|
||||
this._size--
|
||||
this._touch(ACTION_REMOVE)
|
||||
this._touch(ACTION_REMOVE, key)
|
||||
}
|
||||
|
||||
_resolveItem (keyOrObjectWithId, valueIfKey = undefined) {
|
||||
|
Loading…
Reference in New Issue
Block a user