-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Closed
Description
Version
4.0.0-beta.4
Reproduction link
none
Steps to reproduce
Enable Logger for Vuex (createLogger)
- Add to store param with an array value (list)
- Create a mutation to change param above (list.splice(0,1))
- Call mutation
- Got error
What is expected?
No errors
What is actually happening?
TypeError: Cannot convert a Symbol value to a number
at vue.js:431
at Map.forEach (<anonymous>)
at trigger (vue.js:430)
at Object.set (vue.js:592)
at Proxy.splice (<anonymous>)
at Proxy.arrayInstrumentations.<computed> (vue.js:522)
at Store.REMOVE_CALCULATION (C:\Users\denva\WebstormProjects\agenta.web\src\store\modules\Claculator\Calculator.ts:54)
at wrappedMutationHandler (vuex.esm-bundler.js:802)
at commitIterator (vuex.esm-bundler.js:434)
at Array.forEach (<anonymous>)
If I disable Logger no errors will
Metadata
Metadata
Assignees
Labels
No labels