#
whycq
2022-12-15 01fd56dde21992da1ab1b5492fe9f68c1be70a74
Monitor-APP/pages/index/index.vue
@@ -347,29 +347,25 @@
            that.baseUrl = ''
            that.baseLedId = ''
         }
         this.commonUrl = this.baseHttp + this.baseIP + ':' +this.basePort + this.baseUrl
         this.getUrl()
      },
      onReady() {
         // 获得初始数据
         setTimeout(() => {
         setInterval(() => {
            this.initlineChart();
            this.initPieChart();
         }, 0);
         setTimeout(() => {
            this.getServerData();
            this.getOther();
            this.getPakin();
         }, 1000);
         setInterval(() => {
            this.getDate();
            this.getPakin();
            this.getError();
            // this.getYYY();
            // this.getEEE();
            this.animation();
            this.getUrl();
         },1000)
      },
      methods: {
         getUrl() {
            this.commonUrl = this.baseHttp + this.baseIP + ':' +this.basePort + this.baseUrl
         },
         // 获取错误信息
         getYYY() {
            let that = this