Fixed assigning the default store state
This commit is contained in:
parent
d6775e3c83
commit
6ad3e29869
1 changed files with 1 additions and 1 deletions
|
|
@ -2457,7 +2457,7 @@ export const useMainStore = defineStore({
|
|||
// populate initial state
|
||||
populateInitialState(forceReset) {
|
||||
if (!sessionStorage.getItem(storeId) || forceReset) {
|
||||
this.$state = state;
|
||||
this.$state = getDefaultState();
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue