tianyi 4 weeks ago
parent
commit
c31c6c12d2
  1. 1
      components/tab-bar/delivery.vue

1
components/tab-bar/delivery.vue

@ -643,6 +643,7 @@
let that = this let that = this
uni.getLocation({ uni.getLocation({
type: 'gcj02', // type: 'gcj02', //
isHighAccuracy:true,
success: (res) => { success: (res) => {
console.log('位置', res) console.log('位置', res)
that.latitude = res.latitude; that.latitude = res.latitude;

Loading…
Cancel
Save