web端优化数据加载

This commit is contained in:
Xwite
2024-10-15 14:55:40 +08:00
parent 5807dfa0b6
commit 41e2c4f177
21 changed files with 197 additions and 139 deletions
@@ -26,6 +26,7 @@ import type { webReadConfig } from '@/web'
const store = useBookStore()
const readWidth = computed(() => store.config.readWidth)
const bookUrl = computed(() => store.readingBook.bookUrl)
const props = defineProps<{
chapterIndex: number
contents: Array<string>
@@ -116,7 +117,7 @@ onUnmounted(() => {
})
</script>
<style scoped>
<style lang="scss" scoped>
.title {
margin-bottom: 57px;
font: