mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-10 19:29:50 +08:00
refactor(docs/home): 重构首页导航和文档结构
- README 新增架构图(明暗主题 SVG),更新 Proxy 描述 - 首页导航栏将"文档"链接从底部按钮区移至顶部导航 - 删除独立的 body-rules-spec 文档 - GuideLayout 路由切换时自动滚动到顶部 - 架构图组件移除网格背景
This commit is contained in:
@@ -409,6 +409,10 @@ watch(
|
||||
() => {
|
||||
mobileMenuOpen.value = false
|
||||
activeHash.value = ''
|
||||
const container = getScrollContainer()
|
||||
if (container) {
|
||||
container.scrollTo({ top: 0 })
|
||||
}
|
||||
nextTick(() => {
|
||||
setupIntersectionObserver()
|
||||
const firstSection = document.querySelector('article section[id]')
|
||||
|
||||
Reference in New Issue
Block a user