diff --git a/src/contentScripts/views/App.vue b/src/contentScripts/views/App.vue index a3f9fa64..d096dde4 100644 --- a/src/contentScripts/views/App.vue +++ b/src/contentScripts/views/App.vue @@ -259,11 +259,14 @@ function openVideoPageIfBvidExists() { window.open(`https://www.bilibili.com/video/${bvid}`, '_self') } -provide('handleBackToTop', handleBackToTop) -provide('handleRefresh', handleRefresh) -provide('activatedPage', activatedPage) -provide('scrollbarRef', scrollbarRef) -provide('mainAppRef', mainAppRef) +provide('BEWLY_APP', { + activatedPage, + mainAppRef, + scrollbarRef, + handleBackToTop, + handlePageRefresh, + handleReachBottom, +})