You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
navigateTo({url: `/pages/comment/comment`,success: (res)=>{// Property 'eventChannel' does not exist on type 'CallbackResult'.ts(2339)res.eventChannel.emit('TARGET-ORDER',order);}});
这个特性解决了什么问题?
希望官方补充一下 navigateTo 回调 success 入参的类型,否则会遇到如下情况:
此处在实际运行中,是能获取到 eventChannel 的
这个 API 长什么样?
原代码:
taro/packages/taro/types/api/route/index.d.ts
Line 102 in 60bb8fc
改为如下:
The text was updated successfully, but these errors were encountered: