在ISO微信一个用react开发的web页面中,用a标签打开一个word或excel静态资源进行下载的时候,会跳转页面进行预览,但返回的时候会刷新页面重新加载数据,有没有办法返回的时候读取缓存,保留跳转前页面的数据?
跳转前将数据保存在本地,跳回来的时候获取数据回显
2.1m questions
2.1m answers
60 comments
56.8k users