fix
pyt
2025-03-18 b650f6e695706f35cc62cd7d4558de659cca2313
fix
1个文件已修改
5 ■■■■■ 已修改文件
H5/pages/location/location.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/pages/location/location.vue
@@ -113,8 +113,9 @@
            function success(position) {
                geoconv({coords:`${position.coords.longitude},${position.coords.latitude}`}).then(res=>{
                    const latitude = res.data[0].y;
                    const longitude = res.data[0].x;
                    const latitude = res.data.result[0].y;
                    const longitude = res.data.result[0].x;
                    var point = new BMapGL.Point(longitude, latitude); // 创建点坐标
                    that.map.enableScrollWheelZoom(true);
                    that.map.centerAndZoom(point, 12);
                    var marker = new BMapGL.Marker(point);