From 176b2474b86f5b5122c56996cac7fa2140bfb0f4 Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期五, 22 十二月 2023 13:55:42 +0800 Subject: [PATCH] # --- Monitor-APP/pages/home/home.vue | 31 +++++++++++++++---------------- 1 files changed, 15 insertions(+), 16 deletions(-) diff --git a/Monitor-APP/pages/home/home.vue b/Monitor-APP/pages/home/home.vue index f6918fc..b0387ef 100644 --- a/Monitor-APP/pages/home/home.vue +++ b/Monitor-APP/pages/home/home.vue @@ -251,10 +251,10 @@ </view> </view> </view> - <view class="btn"> - <!-- <button >鎷f枡鍥炲簱</button> --> + <!-- <view class="btn"> --> + <!-- <button >鎷f枡鍥炲簱</button> <button size="mini" type="primary" @click="">鐩樼偣鍥炲簱</button> - </view> + </view> --> </uni-transition> <!-- 寮傚父淇℃伅 --> <uni-transition :duration="duration" :mode-class="errorInfoMode" :show="errorInfoViewShow"> @@ -445,28 +445,27 @@ this.initlineChart() this.initPieChart() this.getOther() - },3000) - },1000) - },1000) + },500) + },500) + },500) }, onLoad() { setInterval(()=>{ this.getDate2() this.getUrl() - // this.getInfo() - // this.getError() - this.getInfo2() - this.getError2() + this.getInfo() + this.getError() + // this.getInfo2() + // this.getError2() this.controller() },1000) setInterval(()=>{ - this.getDate2() - this.getUrl() - // this.getInfo2() - // this.getError2() - this.controller() + this.getServerData() + this.initlineChart() + this.initPieChart() + this.getOther() },600000) }, methods: { @@ -1027,7 +1026,7 @@ } .info-main { width: 100vw; - height: 80vh; + height: 88vh; display: flex; justify-content: center; align-items: center; -- Gitblit v1.9.1