diff --git a/src/.vuepress/components/Bar.vue b/src/.vuepress/components/Bar.vue index f8976d37271e0536679684696ca883b4c997118c..55a43b1f73ab544a38bad8b8d7d31e9055e42d8e 100644 --- a/src/.vuepress/components/Bar.vue +++ b/src/.vuepress/components/Bar.vue @@ -93,7 +93,7 @@ export default { }), computed: { getPath(){ - return window?.location?.origin + window?.location?.pathname.replace(this.$route.path,''); + return window?.location?.origin + '/' + window?.location?.pathname.replace(this.$route.path,''); } } }