src/views/home/index.vue @@ -16,6 +16,10 @@ imgs: mapImgSrc } }, created: function() { // 设置主导航 this.$store.commit('setActiveName', 'home'); }, methods: { // 查询地图中的坐标点 searchMapDot: function() {