当前位置:网站首页>js实现页面加载后再刷新一次
js实现页面加载后再刷新一次
2022-06-12 08:28:00 【徐同保】
handleRefresh() {
const nowIndex = location.href.indexOf("&now=");
location.href = location.href.slice(0, nowIndex) + "&now=" + Date.now();
window.location.reload();
},
handleReloaded: function () {
const { now } = this.$route.query;
if (typeof now === "undefined" && location.href.includes("?")) {
location.href = location.href + `&now=${Date.now()}`;
window.location.reload();
}
},边栏推荐
- What is the MES system? What is the operation process of MES system?
- 安科瑞电动机保护器具有过载反时限、过载定时限、接地、起动超时、漏电、欠载、断相、堵转等功能
- Installation series of ROS system (I): installation steps
- JVM学习笔记:垃圾回收机制
- Webrtc series - mobile terminal hardware coding supports simulcast
- Hands on learning and deep learning -- simple implementation of softmax regression
- GTEST/GMOCK介绍与实战
- 超全MES系统知识普及,必读此文
- How to understand the production scheduling of APS system?
- Principle and configuration of MPLS
猜你喜欢

智能制造的时代,企业如何进行数字化转型
![Easyexcel exports excel tables to the browser, and exports excel through postman test [introductory case]](/img/ca/0e2bd54a842a393231ec6db5ab02c2.png)
Easyexcel exports excel tables to the browser, and exports excel through postman test [introductory case]

如何理解APS系统的生产排程?

电气火灾探测器对各用电回路进行实时监控

DUF:Deep Video Super-Resolution Network Using Dynamic Upsampling Filters ... Reading notes

ctfshow web3

In the era of intelligent manufacturing, how do enterprises carry out digital transformation

x64dbg 调试 EXCEPTION_ACCESS_VIOLATION C0000005

ctfshow web4

(p25-p26) three details of non range based for loop and range based for loop
随机推荐
ctfshow web3
call方法和apply方法
电气火灾探测器对各用电回路进行实时监控
(P14)overrid关键字的使用
Only use MES as a tool? Looks like you missed the most important thing
Introduction to SDI video data stream format (frequency, rate, YUV, EAV, SAV)
Scope of bean
x64dbg 调试 EXCEPTION_ACCESS_VIOLATION C0000005
FPGA generates 720p video clock
Asp Net project add log function
Hands on learning and deep learning -- simple implementation of linear regression
ERP的生产管理与MES管理系统有什么差别?
Hands on deep learning -- concise implementation code of weight decay
The residual pressure monitoring system ensures the smoothness of the fire evacuation passage in case of fire, and protects the safe operation of large high-rise buildings and the safety of people's l
visual studio2019的asp.net项目添加日志功能
Face recognition using BP neural network of NNET in R language
Map the world according to the data of each country (take the global epidemic as an example)
【动态内存管理】malloc&calloc和realloc和笔试题和柔性数组
Triggers in MySQL
Beidou satellite navigation system foundation part 1