Skip to content
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

dva 使用react-keeper 在ios与安卓中的不同表现, #117

Open
caicai199604 opened this issue Oct 16, 2019 · 1 comment
Open

dva 使用react-keeper 在ios与安卓中的不同表现, #117

caicai199604 opened this issue Oct 16, 2019 · 1 comment

Comments

@caicai199604
Copy link

"dva": "^2.2.3",
"dva-no-router": "^1.2.1",
"react-keeper": "^2.1.12",

项目中没有配置任何需要缓存的页面。
但是会存在被缓存的情况
1.安卓,从项目跳转到 百度网站 之后,再返回到项目,react的生命周期会重新走一遍,不会缓存离开页面的样子。
ios 不会重新走react的生命周期,并且缓存了离开页面时候的样子。

2.ios与安卓都会有,从项目跳转到 百度网站 之后,再返回到项目,项目中的接口不会发送到服务器,接口中的数据是从缓存中取得。

希望能帮忙分析一下,怎样才能表现的一样。

@caicai199604
Copy link
Author

移动端项目 地址: https://moon.gimmao.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant