feat(checkin): 添加滚动恢复功能以改善用户体验
新增 useScrollRestoration 组合式函数,用于在打卡列表页面实现滚动位置恢复 当用户从打卡详情页返回时,自动恢复到之前的滚动位置,支持锚点定位和日历高度补偿 添加对应的单元测试,覆盖等待条件、超时处理和条件恢复等场景
Showing
4 changed files
with
614 additions
and
59 deletions
src/composables/useScrollRestoration.js
0 → 100644
-
Please register or login to post a comment