修改title

ds1.0
fanluyan 2 years ago
parent 841b47b8e2
commit 568bdf8971

@ -374,6 +374,7 @@ export default {
setNum: Math.floor(Math.random() * 10), setNum: Math.floor(Math.random() * 10),
compareloading: false, compareloading: false,
timeProtocol: "", timeProtocol: "",
intervalNum: 1000, // intervalNum: 1000, //
}; };
}, },
@ -642,15 +643,9 @@ export default {
this.requestId = res.data.requestId; this.requestId = res.data.requestId;
// this.realNewtime(); // this.realNewtime();
this.timer = window.setInterval(() => { this.timer = window.setInterval(() => {
//console.log(this.requestList);
this.realNewtime(); this.realNewtime();
console.log("时间", this.timernum); console.log("时间", this.timernum);
if (this.timernum < 2) { console.log("时间间隔", this.intervalNum);
this.intervalNum = 1000;
} else {
this.intervalNum = 2000;
}
console.log(this.intervalNum);
this.timernum++; this.timernum++;
}, this.intervalNum); }, this.intervalNum);
}) })

Loading…
Cancel
Save