[skip ci] web: VisibilityChange兼容Safari 14 14.5

This commit is contained in:
Xwite committed 2023-05-12 21:52:43 +08:00
1 parent 0cbf86b83c
commit 028f840668
2 files changed
+18 -10

No files matched your search

@@ -58,7 +58,6 @@ const titleRef = ref();
const paragraphRef = ref();
const scrollToReadedLength = (length) => {
if (length === 0) return;
console.log("已读长度", length);
let paragraphIndex = chapterPos.value.findIndex(
(wordCount) => wordCount >= length
);