From a0c57e81ea3fff087bbd44b95d2ec928701fbf73 Mon Sep 17 00:00:00 2001 From: Daniel Date: Sun, 13 Oct 2019 01:16:47 -0700 Subject: [PATCH] Fix bug with vuepress build hanging --- .vuepress/theme/global-components/Aside.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.vuepress/theme/global-components/Aside.vue b/.vuepress/theme/global-components/Aside.vue index 0c48ac2..99e1702 100644 --- a/.vuepress/theme/global-components/Aside.vue +++ b/.vuepress/theme/global-components/Aside.vue @@ -156,7 +156,7 @@ export default { ] }; }, - created() { + mounted() { this.changeCurrentBook(); }, computed: { @@ -171,7 +171,7 @@ export default { this.currentBookIndex = randomBookIndex; }, 10000); } - } + }, };