refactor(nav): refactor book nav service with TOC enrichment (#3874)

This commit is contained in:
Huang Xin
2026-04-15 23:08:17 +08:00
committed by GitHub
parent b0cc5461af
commit 3e292af990
23 changed files with 905 additions and 547 deletions
@@ -4,7 +4,7 @@ import { useSidebarStore } from '@/store/sidebarStore';
import { useReaderStore } from '@/store/readerStore';
import { useBookDataStore } from '@/store/bookDataStore';
import { isCfiInLocation } from '@/utils/cfi';
import { findTocItemBS } from '@/utils/toc';
import { findTocItemBS } from '@/services/nav';
import { BookNoteType } from '@/types/book';
import { TOCItem } from '@/libs/document';