From e8efe7370ab9f2b9dfb07b0ae70b0e06d98e37c8 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Sat, 01 Apr 2023 17:18:35 +0800
Subject: [PATCH] 菜单栏调整和视频监控调整,每个页面初始化位置调整
---
src/views/activity/index.vue | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/views/activity/index.vue b/src/views/activity/index.vue
index a9f8f45..3af7495 100644
--- a/src/views/activity/index.vue
+++ b/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对象
--
Gitblit v1.9.3