提交 d832ee8d 编写于 作者: fxy060608's avatar fxy060608

fix(v3): onResize args

上级 023dc196
...@@ -9435,7 +9435,7 @@ var serviceContext = (function () { ...@@ -9435,7 +9435,7 @@ var serviceContext = (function () {
function onResize (args, pageId) { function onResize (args, pageId) {
const page = getCurrentPages().find(page => page.$page.id === pageId); const page = getCurrentPages().find(page => page.$page.id === pageId);
page && callPageHook(page, 'onResize'); page && callPageHook(page, 'onResize', args);
} }
function onPullDownRefresh (args, pageId) { function onPullDownRefresh (args, pageId) {
......
...@@ -21,7 +21,7 @@ export default function initOn (on, { ...@@ -21,7 +21,7 @@ export default function initOn (on, {
function onResize (args, pageId) { function onResize (args, pageId) {
const page = getCurrentPages().find(page => page.$page.id === pageId) const page = getCurrentPages().find(page => page.$page.id === pageId)
page && callPageHook(page, 'onResize') page && callPageHook(page, 'onResize', args)
} }
function onPullDownRefresh (args, pageId) { function onPullDownRefresh (args, pageId) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册