wx small programs - address [recorded]

wx.getLocation ({ 
          type: 'WGS84' , 
          Success: RES => {
             the this ._ajxGetaddress (res.latitude, res.longitude) 
          }, 
          Fail: () => {
             the this ._ajxGetaddress () 
            the console.log ( 'Authorization Failed ' ) 
            the console.log (RES) 
            IF (res.errMsg.indexOf (' the auth the deny ')> -1 || res.errMsg.indexOf (' the auth denied ')> -1 ) {
               the this . tools.toast $ (' o ... o you agree to authorize page position location oh ' )
               the this .scopeWritePhotosAlbum = false  
            }
          }
        })

 

Guess you like

Origin www.cnblogs.com/caiCheryl/p/10929444.html