微信公众号网页开发,重新发版后问题依然存在
微信浏览器缓存导致的代码未及时更新。
安卓: 打开 debugx5.qq.com,根据界面提示清除缓存
ios:
在html头部添加如下head
<meta http-equiv="cache-control" content="max-age=0" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="0" />
<meta http-equiv="expires" content="Tue, 01 Jan 1970 1:00:00 GMT" />
<meta http-equiv="pragma" content="no-cache" />