tarojs-router-next icon indicating copy to clipboard operation
tarojs-router-next copied to clipboard

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

Open Ryan-CW-Code opened this issue 2 years ago • 1 comments

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

Ryan-CW-Code avatar Oct 24 '23 09:10 Ryan-CW-Code

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

Ryan-CW-Code avatar Oct 24 '23 09:10 Ryan-CW-Code