diff --git a/src/App.vue b/src/App.vue index 49f2ddd..5756dfb 100644 --- a/src/App.vue +++ b/src/App.vue @@ -6,7 +6,7 @@ import 'abortcontroller-polyfill/dist/abortcontroller-polyfill-only' onLaunch((options) => { // 处理直接进入页面路由的情况:如h5直接输入路由、微信小程序分享后进入等 // https://github.com/unibest-tech/unibest/issues/192 - console.log('App Launch', options?.path) + console.log('App Launch', options) if (options?.path) { navigateToInterceptor.invoke({ url: `/${options.path}` }) } @@ -14,8 +14,8 @@ onLaunch((options) => { navigateToInterceptor.invoke({ url: '/' }) } }) -onShow(() => { - console.log('App Show') +onShow((options) => { + console.log('App Show', options) }) onHide(() => { console.log('App Hide')