Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
4.0k views
in Technique[技术] by (71.8m points)

微信公众号获取定位成功 wx.getLocation success 之后无法执行回调

QQ截图20201124154616.pngQQ截图20201124154702.png
wx.getLocation已经成功了,控制台也输出了,为啥,success之后的代码不执行?有没有遇到过这样的问题的?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

locationFn调用的时候_this没定义吧


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...