stash
This commit is contained in:
parent
df70a347e3
commit
d4fd270aa2
2 changed files with 2 additions and 3 deletions
|
@ -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>
|
||||
|
|
|
@ -100,7 +100,6 @@ export default createStore({
|
|||
this.commit('setToken', token);
|
||||
if (keypair) {
|
||||
this.commit('setKey', keypair)
|
||||
} else {
|
||||
}
|
||||
router.push('/');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue