柒零 1 год назад
Родитель
Сommit
35bade36e1
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      componets/authorized-login-dialog/authorizedLoginDialog.js

+ 1 - 1
componets/authorized-login-dialog/authorizedLoginDialog.js

@@ -281,7 +281,7 @@ Component({
               scope: 'scope.userLocation',
               success() {
                 // 用户同意授权后再次获取位置  
-                that.getLocation();
+                that.getLocation(e);
               },
               fail() {
                 // 用户拒绝授权