Browse Source

视图更新

wangcc 2 years ago
parent
commit
29d9597c65
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/components/amapPow.vue

+ 3 - 3
src/components/amapPow.vue

@@ -2,8 +2,8 @@
  * @Description: 
  * @Author: wangcc
  * @Date: 2022-10-19 09:32:46
- * @LastEditors: wangcc 1053578651@qq.com
- * @LastEditTime: 2022-11-14 00:36:10
+ * @LastEditors: wangcc
+ * @LastEditTime: 2022-11-14 13:48:32
  * @FilePath: \castgroup_bigscreen\src\components\amapPow.vue
  * @Copyright: Copyright (c) 2016~2022 by wangcc, All Rights Reserved. 
 -->
@@ -721,7 +721,7 @@ export default {
         content: smallLabel //设置文本标注内容
       });
       if (this.$store.state.addr.mapLevel == 'street') {
-        this.map.setFitView(this.smallMarker, false, false, 12);
+        this.map.setFitView(this.smallMarker, false, false, 14);
       }
       this.smallMarkers.push(_this.smallMarker);
       this.smallMarker.on('click', (e) => {