求助:React-Navigation 多次跳转到统一页面返回的问题?

项目中有两个页面,MainPage和TeamPage,默认首页是MainPage,点击MainPage中的文件夹条目会跳转到TeamPage,如果TeamPage有文件夹点击的话会再次调用TeamPage,可能的场景是这样:MainPage-->TeamPage(**A**)-->TeamPage(**B**)-->TeamPage(**C**)-->TeamPage(**D**),TeamPage到TeamPage通过navigation.push()来实现。现在遇到一个问题,当在**D**页面调用navigation.pop()返回到**C**页面时,会执行TeamPage的componentWillUnmount方法,导致TeamPage页面组建被卸载,从而再在**C**页面执行setState方法时报错。有没有什么办法解决上述问题

https://blog.csdn.net/shiquanqq/article/details/79111579