打开页面的两种方式
window.open(`../index.html?index=${xt_index}`) // 新增页面打开
; // 本页面打开
//使用个定时器 方法 交互效果更好
clearTimeout(timers);
timers = setTimeout(function () {
window.open(`../index.html?index=${xt_index}`) // 新增页面打开
}, 500);
打开页面的两种方式
阅读 123
2022-02-20
window.open(`../index.html?index=${xt_index}`) // 新增页面打开
; // 本页面打开
//使用个定时器 方法 交互效果更好
clearTimeout(timers);
timers = setTimeout(function () {
window.open(`../index.html?index=${xt_index}`) // 新增页面打开
}, 500);
相关推荐
精彩评论(0)