mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
[skip ci] web: VisibilityChange兼容Safari 14 14.5
This commit is contained in:
@@ -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
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user