Browse Source

fix: Home.vue 地图调用新增注释方便其他同事处理

sequoia tungfang 1 month ago
parent
commit
90e6c3c5a3
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/views/Home.vue

+ 1 - 0
src/views/Home.vue

@@ -233,6 +233,7 @@ export default {
       // 临时逻辑,有真实接口后可以删除
       const position = localStorage.getItem(`pos${index + 1}`).split(',');
       
+      // 地图联动
       this.$refs.trafficMapRef.focusByLocation([Number(position[0]), Number(position[1])]);
     },
     onIntersectionRowClick({ row, index }) {