xiaozy #2

Merged
xiaozhiyong merged 17 commits from xiaozy into master 2023-04-12 11:19:18 +08:00
Showing only changes of commit 1cdcd53d8a - Show all commits

View File

@@ -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({