refactor(modules/web): arrange storeToRefs destruct

This commit is contained in:
Xwite committed 2024-10-02 21:38:40 +08:00
1 parent eb8231e705
commit 2aa81f14e3
10 files changed
+56 -44

No files matched your search

@@ -23,6 +23,7 @@ const isSelected = (idx) => {
return idx == props.currentChapterIndex;
};
// PC端 一个虚拟列表中有两个章节
const catas = computed(() => {
return props.source?.catas ?? [props.source];
});