pull/2/head
xiaozhiyong 2 years ago
parent 1eab02047e
commit 1cdcd53d8a
  1. 1
      src/store/piniaIndex.js

@ -27,6 +27,7 @@ const instance = defineStore('user', {
actions: {
getPosition() {
if (this.position.latitude && this.position.longitude) return
initAMap().then(() => {
let AMap = Vue.prototype.$AMap
let geolocation = new AMap.Geolocation({

Loading…
Cancel
Save