diff --git a/pages/Login.vue b/pages/Login.vue index bb3637e5..d874dc68 100644 --- a/pages/Login.vue +++ b/pages/Login.vue @@ -68,7 +68,6 @@ export default { await this.$auth.loginWith('local', { data }) this.loading = false Message({ message: this.$t('login.ok'), showClose: true, type: 'success' }) - this.$router.replace('/') } catch (e) { Message({ message: this.$t('login.error'), showClose: true, type: 'error' }) this.loading = false