MCPcopy
hub / github.com/didi/DoKit / get

Function get

miniapp/src/components/positionsimulation/positionsimulation.js:26–30  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

24 this.setData({ currentLongitude: res.longitude })
25 Object.defineProperty(wx, 'getLocation', {
26 get(val) {
27 return function (obj) {
28 obj.success({latitude: res.latitude, longitude: res.longitude})
29 }
30 }
31 })
32 }
33 })

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected