diff --git a/src/api/modules/mapCommon.ts b/src/api/modules/mapCommon.ts
index 83b600a..c053d99 100644
--- a/src/api/modules/mapCommon.ts
+++ b/src/api/modules/mapCommon.ts
@@ -142,3 +142,13 @@ export const gltfModelEdit = (params: any) => {
export const gltfModelDelete = (params: any) => {
return http.post(BASEURL + `/base/gltfModel/delete`, params);
};
+
+// 设备样式
+// 样式查询
+export const equipmentStyleGet = (params: any) => {
+ return http.post(BASEURL + `/base/deviceConfig/queryById`, params);
+};
+// 样式编辑
+export const equipmentStyleEdit = (params: any) => {
+ return http.post(BASEURL + `/base/deviceConfig/edit`, params);
+};
diff --git a/src/components/CodeMirror/index.vue b/src/components/CodeMirror/index.vue
index 4b81828..ab55948 100644
--- a/src/components/CodeMirror/index.vue
+++ b/src/components/CodeMirror/index.vue
@@ -14,7 +14,7 @@