You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 4, 2022. It is now read-only.
// Following data was in localstorage before reload
{
"base": {
"bg-color-orange": true
},
"light": {
"bg-color-orange-light": true
},
"dark": {
"bg-color-orange-dark": true
}
}
Problem description:
Store being restored, but it has merged default objects in store with restored ones.
The text was updated successfully, but these errors were encountered:
U are using a mutation to do three updates, consider using an action
Next of, u are setting a default state, that state will always be used on start, and if you have updates, things will get merged. If they were not, a lot of other use cases would fail.
Is your localstorage updated with the default, or does it live in you vuex object?
In any way, you could use sometinhg like the overwrite attribute of the API. Or look for another option, if the "error" is in the plugin, you could find the fix for your case there.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
vuex-persistedstate
version: 4.1.0node
version: 14.15.4npm
(oryarn
) version: 6.14.10Relevant code or config:
What you did:
What happened:
Problem description:
The text was updated successfully, but these errors were encountered: