shuishen
2023-04-01 e8efe7370ab9f2b9dfb07b0ae70b0e06d98e37c8
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对象