Add midjourney pagination (#172)

This commit is contained in:
HCode authored and GitHub committed 2025-02-10 02:32:36 +08:00
1 parent 49b2a5846c
commit 31fc4b4472
10 files changed
+137 -32

No files matched your search

+2
View File
@@ -149,8 +149,10 @@ export default defineComponent({
setTimeout(() => {
// scroll to bottom for `.recent`
const el = document.querySelector('.recent');
console.log('onScrollDown ', el, el.scrollTop, el.scrollHeight);
if (el) {
el.scrollTop = el.scrollHeight;
console.log('onScrollDown ', el.scrollTop, el.scrollHeight);
}
}, 1000);
},