diff --git a/.vuepress/enhanceApp.js b/.vuepress/enhanceApp.js index 8b1c484..0b3948f 100644 --- a/.vuepress/enhanceApp.js +++ b/.vuepress/enhanceApp.js @@ -63,10 +63,6 @@ export default ({ let sharing = true if (typeof window !== 'undefined') { - AOS.init({ - easing: 'ease-out-back', - duration: 1200 - }); if (location.search && (location.search.indexOf('sharing') >=0 || location.search.indexOf('from=timeline') >= 0)) { sharing = true window.kuboardSharing = true @@ -74,6 +70,12 @@ export default ({ sharing = false window.kuboardSharing = false } + setTimeout(_ => { + AOS.init({ + easing: 'ease-out-back', + duration: 1200 + }); + }, 200) } console.log('sharing', sharing) Vue.prototype.$isSharing = sharing diff --git a/.vuepress/theme/components/Page.vue b/.vuepress/theme/components/Page.vue index 4f4abd5..75696a2 100644 --- a/.vuepress/theme/components/Page.vue +++ b/.vuepress/theme/components/Page.vue @@ -9,14 +9,14 @@ 免费 Kubernetes教程K8S教程,绝不降低品质 -