KKCE: 基于边缘函数与缓存键计算的网站测速动态逻辑验证-快快测
2026/8/6 9:59:34
// 等待DOM更新后,将class的dom滚动到可视区域 setTimeout(() => { const activeMonthElement = document.querySelector('.month-text.active'); if (activeMonthElement) { activeMonthElement.scrollIntoView({ behavior: 'smooth', block: 'nearest', inline: 'center' }); } }, 0);