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 } } })