添加提示
Showing
1 changed file
with
4 additions
and
4 deletions
| ... | @@ -289,9 +289,7 @@ angular.module('myApp') | ... | @@ -289,9 +289,7 @@ angular.module('myApp') |
| 289 | // enableHighAccuracy:true, | 289 | // enableHighAccuracy:true, |
| 290 | // maximumAge:1000 | 290 | // maximumAge:1000 |
| 291 | // } | 291 | // } |
| 292 | layer.open({ | 292 | |
| 293 | content: '正在定位' | ||
| 294 | }) | ||
| 295 | getlocation(); | 293 | getlocation(); |
| 296 | function getlocation() { | 294 | function getlocation() { |
| 297 | // wx.getLocation({ | 295 | // wx.getLocation({ |
| ... | @@ -308,7 +306,9 @@ angular.module('myApp') | ... | @@ -308,7 +306,9 @@ angular.module('myApp') |
| 308 | } else { | 306 | } else { |
| 309 | 307 | ||
| 310 | appClient.getGPS('', function (latitude, longitude, cb) { | 308 | appClient.getGPS('', function (latitude, longitude, cb) { |
| 311 | 309 | layer.open({ | |
| 310 | content: '正在定位' | ||
| 311 | }) | ||
| 312 | onSuccess({ | 312 | onSuccess({ |
| 313 | latitude: latitude, | 313 | latitude: latitude, |
| 314 | longitude: longitude | 314 | longitude: longitude | ... | ... |
-
Please register or sign in to post a comment