hookehuyr

fix

1 { 1 {
2 "globals": { 2 "globals": {
3 "EffectScope": true, 3 "EffectScope": true,
4 - "ElMessage": true,
5 "computed": true, 4 "computed": true,
6 "createApp": true, 5 "createApp": true,
7 "customRef": true, 6 "customRef": true,
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
2 export {} 2 export {}
3 declare global { 3 declare global {
4 const EffectScope: typeof import('vue')['EffectScope'] 4 const EffectScope: typeof import('vue')['EffectScope']
5 - const ElMessage: typeof import('element-plus/es')['ElMessage']
6 const computed: typeof import('vue')['computed'] 5 const computed: typeof import('vue')['computed']
7 const createApp: typeof import('vue')['createApp'] 6 const createApp: typeof import('vue')['createApp']
8 const customRef: typeof import('vue')['customRef'] 7 const customRef: typeof import('vue')['customRef']
......
1 <!-- 1 <!--
2 * @Date: 2023-05-19 14:54:27 2 * @Date: 2023-05-19 14:54:27
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2025-03-06 10:31:16 4 + * @LastEditTime: 2025-03-06 10:36:30
5 * @FilePath: /map-demo/src/views/by/map.vue 5 * @FilePath: /map-demo/src/views/by/map.vue
6 * @Description: 公众地图主体页面 6 * @Description: 公众地图主体页面
7 --> 7 -->
...@@ -576,10 +576,10 @@ export default { ...@@ -576,10 +576,10 @@ export default {
576 }, 576 },
577 setLocation() { // 开启定位服务 577 setLocation() { // 开启定位服务
578 // 获取失败 578 // 获取失败
579 - if (!this.current_lng || !this.current_lat) { 579 + // if (!this.current_lng || !this.current_lat) {
580 - this.dialog_show = true; 580 + // this.dialog_show = true;
581 - this.dialog_text = '获取经纬度失败'; 581 + // this.dialog_text = '获取经纬度失败';
582 - } 582 + // }
583 this.getLocation(); 583 this.getLocation();
584 }, 584 },
585 getLocation() { // 获取经纬度 585 getLocation() { // 获取经纬度
......