From 81ffd0cf79a784e91f5bb64e41b5629a93d867fe Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期五, 07 六月 2024 16:55:40 +0800 Subject: [PATCH] 优化 --- src/books/artAndDance/view/components/index.vue | 2 +- src/App.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App.vue b/src/App.vue index 8f7eebb..4bc027e 100644 --- a/src/App.vue +++ b/src/App.vue @@ -72,7 +72,7 @@ // embedded // english // artAndDance - this.config.resourceCtx + "english" + this.config.resourceCtx + "childHealth" ); // 娴嬭瘯璇曡30椤� // this.activeBook.tryPageCount = 10; diff --git a/src/books/artAndDance/view/components/index.vue b/src/books/artAndDance/view/components/index.vue index f0806b6..d784f74 100644 --- a/src/books/artAndDance/view/components/index.vue +++ b/src/books/artAndDance/view/components/index.vue @@ -528,7 +528,7 @@ const catalog = catalogDom.getAttribute("num"); let text = null; if (target.querySelector("p")) { - text = target.querySelector("p").textContent.substring(0, 20); + text = target.querySelector("p").textContent.substring(0, 50); } // 杩斿洖椤电爜鍜岀珷鑺備俊鎭� if (this.$store.state.qiankun && this.$store.state.qiankun.pageChange) -- Gitblit v1.9.1