From 1e7559438f8f2606988bdfefca190741a06c6bdc Mon Sep 17 00:00:00 2001 From: Archer_cdm Date: Thu, 19 Jan 2023 20:02:46 +0800 Subject: [PATCH] =?UTF-8?q?=EF=BC=88*=EF=BC=89=E5=9C=B0=E7=90=86=E4=BD=8D?= =?UTF-8?q?=E7=BD=AE=E6=9D=83=E9=99=90=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- weapp/app.json | 3 +++ weapp/package/inspectionRecord/inspectionRecord.js | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/weapp/app.json b/weapp/app.json index 2a31459..5443628 100644 --- a/weapp/app.json +++ b/weapp/app.json @@ -49,5 +49,8 @@ "desc": "你的位置信息将用于小程序位置接口的效果展示" } }, + "requiredPrivateInfos": [ + "getLocation" + ], "sitemapLocation": "sitemap.json" } \ No newline at end of file diff --git a/weapp/package/inspectionRecord/inspectionRecord.js b/weapp/package/inspectionRecord/inspectionRecord.js index e1234f2..3f83ba9 100644 --- a/weapp/package/inspectionRecord/inspectionRecord.js +++ b/weapp/package/inspectionRecord/inspectionRecord.js @@ -100,7 +100,6 @@ Page({ let { endTime, startTime, ResList, ResIndex } = that.data; let sevenYearAgo = moment().subtract(7, 'days').format('YYYY-MM-DD 00:00:00'); let currentData = moment().startOf('days').format('YYYY-MM-DD 23:59:59'); - console.log(currentData, 'currentData'); let alarm = ResList[ResIndex].value == 'all' ? 'null' : ResList[ResIndex].value == 'normal' ? false : true; wx.showLoading({ title: '加载中'