-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在umi中使用不生效 #5
Comments
并未缓存内容 @CJY0208 |
可以在 umi@3,x 中尝试 [email protected] 版本试试 |
删除缓存好像没效果诶,dropscope |
我也没效果。😹 |
@phoebeCodeSpace @rudyzou react-activation 忽略了这个行为,因为这被认为不属于 “drop” 动作而是 "refresh" 此场景下需要使用 refresh、refreshScope 而不是 drop 如果是多 tabs 标签,需要是关闭后回到上一个路由或者标签的需求场景,那需要在进行路由切换,触发 KeepAlive 的卸载后再调用 drop 函数 原因是 react-activation 被设计为与路由系统无关,不会主动猜测路由行为且进行路由引导 |
早上研究了下确实是这个问题,在当前路由下关闭tab,drop无效。 |
试试 0.0.1-beta.25,drop 更智能了一些 |
The text was updated successfully, but these errors were encountered: