From adc3a79caf79bcc004ad045369232a13d599b5a3 Mon Sep 17 00:00:00 2001 From: DCloud_LXH <283700113@qq.com> Date: Mon, 18 Apr 2022 15:10:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20Toc=20=E5=AF=BC=E8=87=B4=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E7=AC=AC=E4=B8=80=E6=AC=A1=E8=AE=BF=E9=97=AE=E6=97=B6?= =?UTF-8?q?=E5=B8=BD=E7=82=B9=E5=AE=9A=E4=BD=8D=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/.vuepress/theme/components/Toc.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/.vuepress/theme/components/Toc.vue b/docs/.vuepress/theme/components/Toc.vue index 318f9fec6..ce3c16838 100644 --- a/docs/.vuepress/theme/components/Toc.vue +++ b/docs/.vuepress/theme/components/Toc.vue @@ -60,7 +60,7 @@ syncVisible(); this.$watch('visible', syncVisible); // binding event - setTimeout(() => this.triggerEvt(), 1000); + setTimeout(() => this._onScroll(), 1000); this._onScroll = () => this.onScroll(); this._onHashChange = () => { const hash = decodeURIComponent(location.hash.substring(1)); -- GitLab