Closed lxyisme closed 5 years ago
<Provider include="CustomerDetails"> <KeepAlive name="CustomerDetails"> <div>CustomerDetails</div> </KeepAlive> </Provider> // 未使用router
刚发现只要在项目内引入组件就会报错,错误相同
@lxyisme 改好了,版本升级到了 2.2.0,感谢提出问题哈😀
2.2.0
报错截图:
测试代码:
react-keep-alive 版本: