131
This commit is contained in:
@@ -52,12 +52,6 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
getLocation () {
|
getLocation () {
|
||||||
alert(111)
|
|
||||||
this.agentSign({
|
|
||||||
corpId: this.wxwork.config.corpId,
|
|
||||||
suiteId: this.wxwork.config.suiteId
|
|
||||||
}).then(() => {
|
|
||||||
alert(222)
|
|
||||||
this.injectJWeixin(['getLocation']).then(() => {
|
this.injectJWeixin(['getLocation']).then(() => {
|
||||||
alert(232432)
|
alert(232432)
|
||||||
wx.getLocation({
|
wx.getLocation({
|
||||||
@@ -88,10 +82,6 @@ export default {
|
|||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
alert(JSON.stringify(e))
|
alert(JSON.stringify(e))
|
||||||
})
|
})
|
||||||
}).catch(e => {
|
|
||||||
|
|
||||||
alert(JSON.stringify(e))
|
|
||||||
})
|
|
||||||
},
|
},
|
||||||
|
|
||||||
getWeather (code) {
|
getWeather (code) {
|
||||||
|
|||||||
Reference in New Issue
Block a user