Compare commits
1 Commits
v1.1.1
...
v1.1.1-rc1
Author | SHA1 | Date | |
---|---|---|---|
8ff45e210c |
@ -37,7 +37,7 @@ onMounted(async () => {
|
|||||||
isObserver = new IntersectionObserver((entries) => {
|
isObserver = new IntersectionObserver((entries) => {
|
||||||
entries.forEach((entry) => {
|
entries.forEach((entry) => {
|
||||||
if (entry.isIntersecting) {
|
if (entry.isIntersecting) {
|
||||||
simpleSearchState.load()
|
if (simpleSearchState.state == 'ready') simpleSearchState.load()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}, { threshold: 1 })
|
}, { threshold: 1 })
|
||||||
@ -50,6 +50,7 @@ onBeforeUnmount(() => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
function onSubmit(data) {
|
function onSubmit(data) {
|
||||||
|
|
||||||
if (simpleSearchState) simpleSearchState.start(data.src)
|
if (simpleSearchState) simpleSearchState.start(data.src)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user