From 7ab97c4ada45550abc7f440d60549b249726a9ff Mon Sep 17 00:00:00 2001 From: whychdw <49690745@qq.com> Date: 星期五, 05 七月 2019 08:45:02 +0800 Subject: [PATCH] 修改路由bug --- src/views/home/index.vue | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 33ad7ae..6344494 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -16,6 +16,10 @@ imgs: mapImgSrc } }, + created: function() { + // 璁剧疆涓诲鑸� + this.$store.commit('setActiveName', 'home'); + }, methods: { // 鏌ヨ鍦板浘涓殑鍧愭爣鐐� searchMapDot: function() { -- Gitblit v1.9.1