From dd57e0e9a989e7ee8b3e3473a7ee6a1dff06a4ae Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Tue, 27 Jan 2026 17:19:04 +0800
Subject: [PATCH] feat:调整加载
---
applications/task-work-order/src/store/modules/common.js | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/applications/task-work-order/src/store/modules/common.js b/applications/task-work-order/src/store/modules/common.js
index ce4a88f..696d8f6 100644
--- a/applications/task-work-order/src/store/modules/common.js
+++ b/applications/task-work-order/src/store/modules/common.js
@@ -23,8 +23,18 @@
},
safeHeight: 0, // 获取选择航线高度
positionsArr: [], // 获取选择航线点数据
+ // 地图设置
+ mapSetting: {
+ mode: 17, // 0为标准地图, 1为卫星地图
+ roadLine: true,
+ visual: '3D',
+ isDark: false,
+ },
},
mutations: {
+ SET_MAP_MODE: (state, mode) => {
+ state.mapSetting.mode = mode
+ },
setSafeHeight (state, data) {
state.safeHeight = data
},
--
Gitblit v1.9.3