diff --git a/src/views/Login/Login.vue b/src/views/Login/Login.vue index 52db17403b..36bb1aa618 100644 --- a/src/views/Login/Login.vue +++ b/src/views/Login/Login.vue @@ -193,7 +193,8 @@ export default { this.$store.dispatch('global/getCurrentUser', username), this.$store.dispatch('global/getSystemInfo'), ]).then(() => { - location.href = '/'; + this.$router.push('/'); + location.reload(); }); } })