From 314a014f45a733cf4ed22705ddbd0a49b3744814 Mon Sep 17 00:00:00 2001 From: whycq <you@example.com> Date: 星期四, 01 十二月 2022 16:59:18 +0800 Subject: [PATCH] # --- Monitor-APP/pages/home/home.vue | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Monitor-APP/pages/home/home.vue b/Monitor-APP/pages/home/home.vue index 35239bc..740c142 100644 --- a/Monitor-APP/pages/home/home.vue +++ b/Monitor-APP/pages/home/home.vue @@ -187,8 +187,8 @@ <y-box> <view class="flex-col" style="width: 100%;height: 100%;font-size: 4vh;justify-content: center;letter-spacing: 1vh;"> <!-- 鍢夊杽杈归攱鏈烘鑲′唤鏈夐檺鍏徃 --> - <!-- 鑷姩浠撳簱WCS鐩戞帶骞冲彴 --> - <image src="../../static/ruiyun.jpg" mode="" style="width: 100%;"></image> + 鑷姩浠撳簱WCS鐩戞帶骞冲彴 + <!-- <image src="../../static/ruiyun.jpg" mode="" style="width: 100%;"></image> --> </view> </y-box> </view> @@ -382,15 +382,16 @@ that.basePort = BasePort that.baseCrnId = BaseCrnId this.getUrl() - console.log(that.commonUrl); }, onLoad() { + // this.getServerData() this.getDate() setInterval(()=>{ this.getDate() this.getInfo() this.getError() + this.getUrl() // 娴嬭瘯鐢� // this.getInfo2() // this.getError2() @@ -699,14 +700,12 @@ getOther() { let that = this uni.request({ - // http://10.10.0.222:9090/jkwcs/monitor/led?ledId=186 url: that.commonUrl + "/monitor/other", data: { crnId: that.baseCrnId, ledId: that.baseLedId, }, success(result) { - console.log(result); var res = result.data if (res.code === 200) { that.baseInfo.xDistance = res.data.xDistance -- Gitblit v1.9.1