Ver código fonte

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

画安 3 semanas atrás
pai
commit
f61b9e5b02
1 arquivos alterados com 1 adições e 1 exclusões
  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%" };
     }
   },