From 60533e021d0bf380b88d4bd4409044112736a069 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E5=84=80=E5=BC=8F?= <854085467@qq.com> Date: Wed, 20 Apr 2022 18:15:33 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package/document/src/components/LayAnchor.vue | 1 + package/document/src/document/zh-CN/guide/changelog.md | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/package/document/src/components/LayAnchor.vue b/package/document/src/components/LayAnchor.vue index 3bc7897f..7f2f3bc1 100644 --- a/package/document/src/components/LayAnchor.vue +++ b/package/document/src/components/LayAnchor.vue @@ -124,6 +124,7 @@ onMounted(() => { // 如果已折叠,关闭组件初始渲染时的动画,然后自动开启 // @ts-ignore show.value = + // @ts-ignore scrollRefEl.value!.firstElementChild!.style.marginRight !== "0px"; enableAnimation = show.value; }); diff --git a/package/document/src/document/zh-CN/guide/changelog.md b/package/document/src/document/zh-CN/guide/changelog.md index e1768f83..8e48f2aa 100644 --- a/package/document/src/document/zh-CN/guide/changelog.md +++ b/package/document/src/document/zh-CN/guide/changelog.md @@ -16,8 +16,10 @@
  • 1.0.4 2022-04-17