This commit is contained in:
j3d1 2023-05-16 01:10:11 +02:00
parent df70a347e3
commit d4fd270aa2
2 changed files with 2 additions and 3 deletions

View file

@ -15,10 +15,10 @@ import store from '@/store';
export default {
name: 'App',
methods: {
...mapMutations(['init'])
...mapMutations(['init']),
},
beforeCreate () {
store.commit('init')
store.commit('load_local')
}
}
</script>

View file

@ -100,7 +100,6 @@ export default createStore({
this.commit('setToken', token);
if (keypair) {
this.commit('setKey', keypair)
} else {
}
router.push('/');
}