src/views/h5/signup/BaiduMap.vue
@@ -32,8 +32,6 @@ }); return baiduMapPromise; } import { getCurrentPosition } from '@/utils/tool.js' export default { name: 'BaiduMap', props: { @@ -78,6 +76,7 @@ map.enableScrollWheelZoom(); this.map = map; this.$emit('ready', map); this.$emit('getMapStatus', 'success') this.getUserPosition() }, async getUserPosition() {