commit
This commit is contained in:
parent
2578223941
commit
107dace02c
1 changed files with 4 additions and 1 deletions
|
|
@ -98,7 +98,10 @@ export const useMainStore = defineStore({
|
|||
},
|
||||
populateInitialState()
|
||||
{
|
||||
Object.assign(this.$state, getDefaultState());
|
||||
if(!localStorage.getItem('main')) {
|
||||
this.$state = state;
|
||||
}
|
||||
|
||||
}
|
||||
},
|
||||
persist: true
|
||||
|
|
|
|||
Loading…
Reference in a new issue