This commit is contained in:
yanran200730
2022-07-29 14:40:47 +08:00
parent efd430c2e9
commit 9bb8fb4156

View File

@@ -52,10 +52,12 @@ export default {
}, },
getLocation () { getLocation () {
alert(111)
this.agentSign({ this.agentSign({
corpId: this.wxwork.config.corpId, corpId: this.wxwork.config.corpId,
suiteId: this.wxwork.config.suiteId suiteId: this.wxwork.config.suiteId
}).then(() => { }).then(() => {
alert(222)
this.injectJWeixin(['getLocation']).then(() => { this.injectJWeixin(['getLocation']).then(() => {
alert(232432) alert(232432)
wx.getLocation({ wx.getLocation({