From e6ecd0ea0d971ff2c002a7215defce4afa820d77 Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期一, 15 五月 2023 18:32:39 +0800
Subject: [PATCH] #

---
 Monitor-APP/uni_modules/qiun-data-charts/js_sdk/u-charts/config-ucharts.js |    2 +-
 Monitor-APP/pages/home/home.vue                                            |    6 ++++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/Monitor-APP/pages/home/home.vue b/Monitor-APP/pages/home/home.vue
index e71b833..6a2a966 100644
--- a/Monitor-APP/pages/home/home.vue
+++ b/Monitor-APP/pages/home/home.vue
@@ -386,7 +386,8 @@
 				},
 				swiperList: [],
 				timeOut: false,
-				times: 0
+				times: 0,
+				currDate: ''
 			}
 		},
 		onShow() {
@@ -715,6 +716,7 @@
 					success(result) {
 						var res = result.data.data
 						that.calendar = res.year + "骞�" + res.month + "鏈�" + res.day + "鏃� " + res.hour + ":" + res.minute + ":" + res.second + " " + res.week
+						that.currDate = res.year + "/" + res.month + "/" + res.day
 					}
 				})
 			},
@@ -742,7 +744,7 @@
 				this.calendar = year + "骞�" + month + "鏈�" + day + "鏃� " + hours + ":" + minutes + ":" + seconds + " " + weeks
 			},
 			getDateFormat(value) {
-				var date = new Date();// 鑾峰彇褰撳墠鏃堕棿
+				var date = new Date(this.currDate);// 鑾峰彇褰撳墠鏃堕棿
 				date.setDate(date.getDate() + value);// 璁剧疆澶╂暟 -1 澶�
 				var m = date.getMonth() + 1
 				var d = date.getDate()
diff --git a/Monitor-APP/uni_modules/qiun-data-charts/js_sdk/u-charts/config-ucharts.js b/Monitor-APP/uni_modules/qiun-data-charts/js_sdk/u-charts/config-ucharts.js
index 9e444bb..1e0daf7 100644
--- a/Monitor-APP/uni_modules/qiun-data-charts/js_sdk/u-charts/config-ucharts.js
+++ b/Monitor-APP/uni_modules/qiun-data-charts/js_sdk/u-charts/config-ucharts.js
@@ -118,7 +118,7 @@
 		"rotate": false,
 		"dataLabel": false,
 		"legend": {
-			"show": true,
+			"show": false,
 			"position": "right",
       "lineHeight": 25,
 		},

--
Gitblit v1.9.1