diff --git a/packages/uni-app-plus/dist/index.v3.js b/packages/uni-app-plus/dist/index.v3.js index 57c94fe60f1401bc50a103266cea5304118423e1..cba66054dafd1710d5daf5436f2eb3544f67520d 100644 --- a/packages/uni-app-plus/dist/index.v3.js +++ b/packages/uni-app-plus/dist/index.v3.js @@ -9435,7 +9435,7 @@ var serviceContext = (function () { function onResize (args, pageId) { const page = getCurrentPages().find(page => page.$page.id === pageId); - page && callPageHook(page, 'onResize'); + page && callPageHook(page, 'onResize', args); } function onPullDownRefresh (args, pageId) { diff --git a/src/core/service/bridge/on.js b/src/core/service/bridge/on.js index 2471ecb09b220b51c49ebe7f7e391dbd43b530f7..01c9b20d672cab0088b5068b03db0097f8f4a569 100644 --- a/src/core/service/bridge/on.js +++ b/src/core/service/bridge/on.js @@ -21,7 +21,7 @@ export default function initOn (on, { function onResize (args, pageId) { const page = getCurrentPages().find(page => page.$page.id === pageId) - page && callPageHook(page, 'onResize') + page && callPageHook(page, 'onResize', args) } function onPullDownRefresh (args, pageId) {