fix: app.vue 更新日志输出,显示 options参数的完整信息
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user