web: 修复目录位置不对

This commit is contained in:
Xwite
2023-05-11 08:17:00 +08:00
parent b1eea5e532
commit 5ceee8e038
9 changed files with 16 additions and 20 deletions
@@ -12,8 +12,6 @@ defineProps(["index", "source", "gotoChapter"]);
const store = useBookStore();
const { catalog } = storeToRefs(store);
const index = computed(() => store.readingBook.index);
const isSelected = (idx) => {