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

数据刷新问题 #927

Closed
zhangweia opened this issue Aug 22, 2018 · 2 comments
Closed

数据刷新问题 #927

zhangweia opened this issue Aug 22, 2018 · 2 comments
Labels
wontfix This will not be worked on

Comments

@zhangweia
Copy link

[问题简单描述]

从A产品列表页面点击进入B详情页面,B页面接口获取列表数据保存到data定义的数组里面,返回到A页面,关闭网络,进入到另外一个产品的B详情页面,这个时候显示的是上一个详情页面的数据

期望的表现:
按道理从B页面返回到A页面的时候,B页面data里面定义的数据应该清空了,目前发现是缓存了,这样我需要每次在onUnload中去清理数据,非常麻烦。

[在这里描述期望的表现]

观察到的表现:

[在这里描述观察到的表现]

屏幕截图和动态 GIF 图

![复现步骤的屏幕截图和动态 GIF 图](图片的 url)

@chenxi2008
Copy link

我这边每次都是页面关闭的时候清掉数据...

@mpvue-bot mpvue-bot bot added the wontfix This will not be worked on label Oct 23, 2018
@mpvue-bot mpvue-bot bot closed this as completed Oct 30, 2018
@aOrz
Copy link
Member

aOrz commented Oct 31, 2018

#300

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants