|
@@ -268,7 +268,7 @@ var _default = {
|
|
if (!statu['scope.userLocation']) {
|
|
if (!statu['scope.userLocation']) {
|
|
uni.showModal({
|
|
uni.showModal({
|
|
title: '提示',
|
|
title: '提示',
|
|
- content: '需要获取您的地理位置,请确认授权,否则地图功能将无法使用',
|
|
|
|
|
|
+ content: '需要获取您的地理位置,请确认授权,否则拍照功能将无法使用',
|
|
success: function success(res) {
|
|
success: function success(res) {
|
|
if (res.confirm) {
|
|
if (res.confirm) {
|
|
uni.openSetting();
|
|
uni.openSetting();
|
|
@@ -547,7 +547,6 @@ var _default = {
|
|
that.setFileImgList(fileInfo['name'], tempFile, fileInfo['path']);
|
|
that.setFileImgList(fileInfo['name'], tempFile, fileInfo['path']);
|
|
//文件上传成功后获取经纬度给图片信息
|
|
//文件上传成功后获取经纬度给图片信息
|
|
_this6.getWxLocation().then(function (res) {
|
|
_this6.getWxLocation().then(function (res) {
|
|
- console.log("获取经纬度:" + JSON.stringify(res));
|
|
|
|
_this6.lat = res.latitude;
|
|
_this6.lat = res.latitude;
|
|
_this6.long = res.longitude;
|
|
_this6.long = res.longitude;
|
|
fileInfo.lat = res.latitude;
|
|
fileInfo.lat = res.latitude;
|