From cc1aacf766bc902001f460fdfce20a9ec2ea097d Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Wed, 09 Apr 2025 17:56:11 +0800
Subject: [PATCH] Merge branch 'master' of http://139.196.74.78:10010/r/drone/command-center-dashboard

---
 src/store/modules/common.js |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/src/store/modules/common.js b/src/store/modules/common.js
index 8e0a1ef..0b24cde 100644
--- a/src/store/modules/common.js
+++ b/src/store/modules/common.js
@@ -4,13 +4,15 @@
  * @LastEditors: shuishen 1109946754@qq.com
  * @LastEditTime: 2025-04-03 12:01:58
  * @FilePath: \command-center-dashboard\src\store\modules\common.js
- * @Description: 
- * 
- * Copyright (c) 2025 by shuishen, All Rights Reserved. 
+ * @Description:
+ *
+ * Copyright (c) 2025 by shuishen, All Rights Reserved.
  */
 import { setStore, getStore, removeStore } from 'utils/store'
 import website from '@/config/website'
+import cesiumOptions from '@/utils/cesium-tsa'
 
+const { loadLAYER } = cesiumOptions()
 const common = {
   state: {
     language: getStore({ name: 'language' }) || 'zh-cn',
@@ -34,6 +36,10 @@
     },
   },
   mutations: {
+    setMapSetting: (state, data) => {
+      state.mapSetting = data
+      loadLAYER()
+    },
     SET_LANGUAGE: (state, language) => {
       state.language = language
       setStore({

--
Gitblit v1.9.3