微信中location.reload失效
2024-09-06 05:07:06
var len = window.location.href.indexOf("?");
if(len>0){
window.location.href=window.location.href.substring(0,len)+"?"+Math.random();
}else{
window.location.href=window.location.href+"?"+Math.random();
}
最新文章
- emmet的使用
- 自定义RatingBar,不同分辨率屏幕下图片拉伸或者显示不完整问题解决
- Java中Runnable和Thread
- 微信公众平台开发教程--方培工作室,PHP语言版本
- html input
- Python标准库07 信号 (signal包,部分os包)
- bzoj3294
- 惠普 hpacucli工具使用
- mysql之多列索引
- Openwrt 初始化脚本
- Android初级教程通过简要分析“土司”源码,来自实现定义土司理论探讨
- Flink消费Kafka数据并把实时计算的结果导入到Redis
- android:shape 设置圆形
- 雷林鹏分享:jQuery EasyUI 数据网格 - 创建列组合
- 使用vlc实现视频TS流的推送
- 使用Git之后出现android library引用失败
- java比较字符串相等
- swift实现UItableview上拉下拉刷新模块
- property函数的使用
- 详解JMeter函数和变量(转载)
热门文章
- 工程师技术(六):Linux工程师 综合测试
- iconfont字体图标的使用方法
- BZOJ 3926: [Zjoi2015]诸神眷顾的幻想乡(后缀自动机)
- node 桌面应用开发
- [CSP-S模拟测试]:计划(前缀和)
- SqlServer2008跨服务器操作
- linux下lamp.sh一键配置lamp环境流程
- scrapy原理
- 用 Flask 来写个轻博客 (14) — M(V)C_实现项目首页的模板
- Windows IO System