export default {
data() {
return {
timer: null,
}
},
methods: {
timeUp() {
clearInterval(this.timer)
},
this.timer = setInterval(() => {
uni.navigateTo({
url: '../index/index'
});
this.timeUp()
}, 2000)
}
}

2***@qq.com
- 发布:2020-07-31 15:04
- 更新:2020-07-31 15:04
- 阅读:4779
0 个评论
要回复文章请先登录或注册