瀏覽代碼

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

画安 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%" };
     }
   },