refactor: 修正文档

This commit is contained in:
lockingreal
2022-04-13 23:17:12 +08:00
parent f3d29a3711
commit ed7abfa717
5 changed files with 420 additions and 342 deletions

View File

@@ -123,7 +123,8 @@ onMounted(() => {
scrollRefEl.value?.addEventListener("scroll", throttle(handlerScroll, 500));
// 如果已折叠,关闭组件初始渲染时的动画,然后自动开启
// @ts-ignore
show.value = scrollRefEl.value!.firstElementChild!.style.marginRight !== "0px";
show.value =
scrollRefEl.value!.firstElementChild!.style.marginRight !== "0px";
enableAnimation = show.value;
});