refactor(Dock): use emit function to handle refresh and back-to-top

This commit is contained in:
Hakadao
2024-05-26 23:12:45 +08:00
parent a2322929fa
commit bcff30d673
2 changed files with 8 additions and 6 deletions

View File

@@ -314,6 +314,8 @@ provide<BewlyAppProvider>('BEWLY_APP', {
:activated-page="activatedPage"
@change-page="pageName => changeActivatePage(pageName)"
@settings-visibility-change="toggleSettings"
@refresh="handleThrottledPageRefresh"
@back-to-top="handleBackToTop"
/>
<RightSideButtons
v-else