订阅修改
This commit is contained in:
@@ -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:{
|
||||
// 定时刷新页面
|
||||
|
||||
Reference in New Issue
Block a user