Commit 6fdda999 authored by les's avatar les
Browse files

fix redirect after login

parent 292b1952
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment