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}} - - + + 当前位置 - + - +