Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
703 views
in Technique[技术] by (71.8m points)

IOS微信中,使用a标签跳转页面,返回上一个页面的时候如何才能不刷新当前页面?

在ISO微信一个用react开发的web页面中,用a标签打开一个word或excel静态资源进行下载的时候,会跳转页面进行预览,但返回的时候会刷新页面重新加载数据,有没有办法返回的时候读取缓存,保留跳转前页面的数据?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

跳转前将数据保存在本地,跳回来的时候获取数据回显


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...