From 51829fcb3a5991a97d014b53512aef599054e558 Mon Sep 17 00:00:00 2001 From: DCloud_LXH <283700113@qq.com> Date: Fri, 11 Feb 2022 20:48:24 +0800 Subject: [PATCH] update: navbar --- docs/.vuepress/theme/components/Navbar.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/.vuepress/theme/components/Navbar.vue b/docs/.vuepress/theme/components/Navbar.vue index bb9ea5370..fb6c42cb1 100644 --- a/docs/.vuepress/theme/components/Navbar.vue +++ b/docs/.vuepress/theme/components/Navbar.vue @@ -190,7 +190,7 @@ export default { }, switchVersion () { document.cookie = '__new_version=;expires=-1' - location.reload() + location.replace(location.origin) } }, -- GitLab