|
@@ -190,9 +190,7 @@ export default {
|
|
message: this.$t('common.l52'),
|
|
message: this.$t('common.l52'),
|
|
type: 'success'
|
|
type: 'success'
|
|
});
|
|
});
|
|
- this.$store.commit('SET_LOGIN', false)
|
|
|
|
- this.$store.commit('setAccountList', [])
|
|
|
|
- this.$store.commit('setCashInfo', {})
|
|
|
|
|
|
+ this.$store.dispatch('logout')
|
|
this.$router.replace('/')
|
|
this.$router.replace('/')
|
|
}).finally(() => {
|
|
}).finally(() => {
|
|
this.fullscreenLoading = false;
|
|
this.fullscreenLoading = false;
|