From b3113344af7426caddbcd53fbab68871222fc8b9 Mon Sep 17 00:00:00 2001 From: Gunnar Mills Date: Thu, 17 Nov 2022 05:40:36 -0700 Subject: [PATCH] Revert "Refresh only once after login (#42)" (#59) This reverts commit 5105bc3af9867dc8c8b2f7747c8b902bb4e7c367. --- src/views/Login/Login.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); }); } })