|
@@ -85,8 +85,8 @@
|
|
uni.getLocation({
|
|
uni.getLocation({
|
|
type: 'wgs84', // 默认wgs84
|
|
type: 'wgs84', // 默认wgs84
|
|
success: function(res) {
|
|
success: function(res) {
|
|
- _this.currentPosition.lat = res.latitude.toFixed(8);
|
|
|
|
- _this.currentPosition.lng = res.longitude.toFixed(8);
|
|
|
|
|
|
+ _this.currentPosition.lat = res.latitude;
|
|
|
|
+ _this.currentPosition.lng = res.longitude;
|
|
// 查询门店信息
|
|
// 查询门店信息
|
|
if (option.id) {
|
|
if (option.id) {
|
|
_this.getStoreDetail(option.id)
|
|
_this.getStoreDetail(option.id)
|