fix(dock): swap order of refresh and back to top events
Some checks are pending
CI / Test (lts/*, ubuntu-latest) (push) Waiting to run
CI / Test (lts/*, windows-latest) (push) Waiting to run
CI / Test (lts/-1, ubuntu-latest) (push) Waiting to run
CI / Test (lts/-1, windows-latest) (push) Waiting to run

This commit is contained in:
Hakadao
2025-02-24 10:11:22 +08:00
parent 6e5517a89a
commit cbf82d45a2

View File

@@ -161,8 +161,8 @@ function handleBackToTopOrRefresh(action: 'backToTop' | 'refresh' | 'auto' = 'au
emit('backToTop')
}
else if (action === 'refresh') {
emit('backToTop')
emit('refresh')
emit('backToTop')
}
else {
if (reachTop.value)