From dbd384fa53e9f7e8fede4f90ad2912258c1e1282 Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期五, 22 十二月 2023 15:37:50 +0800 Subject: [PATCH] # --- Monitor-APP/pages/home/home.vue | 21 +++++++++------------ 1 files changed, 9 insertions(+), 12 deletions(-) diff --git a/Monitor-APP/pages/home/home.vue b/Monitor-APP/pages/home/home.vue index 97f1ea4..ff85a1e 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"> @@ -426,15 +426,12 @@ that.baseLedId = BaseLedId that.basePort = BasePort that.baseCrnId = BaseCrnId - - - this.getDate2() setTimeout(()=>{ - // this.getServerData() - // this.initlineChart() - // this.initPieChart() - // this.getOther() + this.getServerData() + this.initlineChart() + this.initPieChart() + this.getOther() setTimeout(()=>{ this.getServerData() this.initlineChart() @@ -450,8 +447,8 @@ },500) }, onLoad() { - setInterval(()=>{ + this.getServerData() this.getDate2() this.getUrl() this.getInfo() @@ -1026,7 +1023,7 @@ } .info-main { width: 100vw; - height: 80vh; + height: 88vh; display: flex; justify-content: center; align-items: center; -- Gitblit v1.9.1