lblblong / tarojs-router-next

Taro 小程序路由库/自动生成带参数类型提示的路由方法/允许传递任意类型、任意大小的参数数据/同步的路由方法调用/koa体验一致的路由中间件
https://lblblong.github.io/tarojs-router-next/
MIT License
248 stars 23 forks source link

后退路由拦截器,不会保留to的exp #75

Open Ryan-CW-Code opened 11 months ago

Ryan-CW-Code commented 11 months ago

registerRouterBackListener拦截器只有当前from有exp,但是to的exp就没有了。 有什么办法也能存储to的exp吗?

Ryan-CW-Code commented 11 months ago

我主要想在路由切换时,设置顶部title。 后退的时候也需要切换title