Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Commit

Permalink
fix: 修复页面 onLoad 事件缺少 query 参数的问题 (#1134)
Browse files Browse the repository at this point in the history
  • Loading branch information
noyobo committed Jul 3, 2020
1 parent a3832e1 commit a7547c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/remax-runtime/src/createPageConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default function createPageConfig(Page: React.ComponentType<any>, name: s

app._mount(this);

return this.callLifecycle(Lifecycle.load);
return this.callLifecycle(Lifecycle.load, query);
},

onUnload(this: any) {
Expand Down

1 comment on commit a7547c1

@vercel
Copy link

@vercel vercel bot commented on a7547c1 Jul 3, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.