소스 검색

修改图例在数据分析页面中的位置

画安 3 주 전
부모
커밋
f61b9e5b02
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/components/TongzhouTrafficMap.vue

+ 1 - 1
src/components/TongzhouTrafficMap.vue

@@ -104,7 +104,7 @@ export default {
       this.storeStatusCoordsToLocalStorage();
     });
 
-    if (this.$route.path === '/home') {
+    if (this.$route.path === '/home' || this.$route.path === '/watch') {
       this.privateStyle.legend = { right: "25%" };
     }
   },