订阅修改

This commit is contained in:
caoyang
2022-03-10 23:30:11 +08:00
parent 513b29411d
commit bc6e0b6f00
6 changed files with 206 additions and 160 deletions
@@ -163,17 +163,17 @@
// this.loadData()
},
created() {
this.refresh()
// this.refresh()
},
watch:{
drawVisible(val){
if(val&&this.timer){
clearInterval(this.timer)
}else{
clearInterval(this.timer)
this.initSetTimeout(this.today)//调用每隔10秒刷新数据
}
}
// drawVisible(val){
// if(val&&this.timer){
// clearInterval(this.timer)
// }else{
// clearInterval(this.timer)
// this.initSetTimeout(this.today)//调用每隔10秒刷新数据
// }
// }
},
methods:{
// 定时刷新页面