国标录像UI重构

This commit is contained in:
648540858
2023-01-09 16:31:51 +08:00
parent fd3a4ef472
commit 9b9a13ab36
10 changed files with 551 additions and 305 deletions

View File

@@ -101,11 +101,14 @@ export default {
window.clearTimeout(this.timer);
}
this.timer = setTimeout(()=>{
this.getSystemInfo();
this.getLoad();
this.timer = null;
this.loopForSystemInfo()
this.getResourceInfo()
if (this.$route.path === "/console") {
this.getSystemInfo();
this.getLoad();
this.timer = null;
this.loopForSystemInfo()
this.getResourceInfo()
}
}, 2000)
},
getSystemInfo: function (){