Skip to content

Commit

Permalink
fix: load params
Browse files Browse the repository at this point in the history
  • Loading branch information
human committed Jan 14, 2025
1 parent ca33ca8 commit 74ec91c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/platform/patch/getDefaultOptions.ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ export function getDefaultOptions ({ type, rawOptions = {}, currentInject }) {
loadParams[key] = encodeURIComponent(props.route.params[key])
}
}
proxy.callHook(ONLOAD, [loadParams || {}])
proxy.callHook(ONLOAD, [loadParams])
}
proxy.mounted()
return () => {
Expand Down

0 comments on commit 74ec91c

Please sign in to comment.