src/views/activity/index.vue
@@ -179,6 +179,7 @@ import { getEquipmentAll } from '@/api/home/index.js' import publicIndex from './components/publicIndex.vue' import { initMapPosition } from '@/utils/mapPositionInit' let loading = null @@ -370,6 +371,10 @@ components: { publicIndex }, created () { this.$nextTick(() => { initMapPosition() }) let userInfo = sessionStorage.getItem("userInfo") if (userInfo != null) { // 将JSON格式的对象解析为js对象