Explorar o código

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

画安 hai 3 semanas
pai
achega
f61b9e5b02
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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%" };
     }
   },