We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38c9387 commit f6f8b89Copy full SHA for f6f8b89
packages/uni-app-plus/src/x/api/route/navigateTo.ts
@@ -94,14 +94,14 @@ function _navigateTo({
94
})
95
}
96
// 有动画时先执行 show
97
- const page = registerPage(
+ registerPage(
98
{
99
url,
100
path,
101
query,
102
openType: 'navigateTo',
103
eventChannel,
104
- onRegistered() {
+ onRegistered(page) {
105
// 页面可能异步注册,需要调整callback执行时机,否则callback中setStatusBarStyle会执行getCurrentPage()
106
// 异步加载的时候,如果立即执行,获取到的不对,所以放到onRegistered中
107
if (noAnimation) {
0 commit comments