This commit is contained in:
home孙 2025-02-22 15:52:29 +08:00
parent 851a0a6ec7
commit 8455eddf40

View File

@ -288,11 +288,12 @@ export default {
const that = this; const that = this;
if (localStorage.getItem('token')) { if (localStorage.getItem('token')) {
that.getEqbyid(); that.getEqbyid();
this.getReg()
setTimeout(() => { setTimeout(() => {
that.pageTimer && clearInterval(that.pageTimer) that.pageTimer && clearInterval(that.pageTimer)
that.pageTimer = setInterval(() => { that.pageTimer = setInterval(() => {
that.getEqbyid(); that.getEqbyid();
that.getReg()
}, 5000); }, 5000);
}, 0); }, 0);
} else { } else {