From c7be217389f7503d7195b06db2140898508fc78c Mon Sep 17 00:00:00 2001 From: java110 <928255095@qq.com> Date: Tue, 11 Apr 2023 14:51:26 +0800 Subject: [PATCH] open --- manifest.json | 8 +- .../excuteOneInspection.vue | 185 +++++++++++------- 2 files changed, 117 insertions(+), 76 deletions(-) diff --git a/manifest.json b/manifest.json index f933852..28e3ba9 100644 --- a/manifest.json +++ b/manifest.json @@ -63,7 +63,13 @@ "setting" : { "urlCheck" : false }, - "usingComponents" : true + "usingComponents" : true, + "permission" : { + "scope.userLocation" : { + "desc" : "物业员工巡检需要获取巡检地方位置" + } + }, + "requiredPrivateInfos": ["getLocation"] }, "mp-alipay" : { "usingComponents" : true diff --git a/pages/excuteOneInspection/excuteOneInspection.vue b/pages/excuteOneInspection/excuteOneInspection.vue index 97ce1a6..0dca91f 100644 --- a/pages/excuteOneInspection/excuteOneInspection.vue +++ b/pages/excuteOneInspection/excuteOneInspection.vue @@ -13,7 +13,8 @@ - + {{valueItem.itemValue}} - - + + 当前位置 - + - +