From cdaa30c60d60e036f0c169a88ff83c2b7063b304 Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Tue, 11 Nov 2025 10:23:08 +0800
Subject: [PATCH] feat:修改为自定义识别区

---
 src/views/layerManagement/index.vue |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/views/layerManagement/index.vue b/src/views/layerManagement/index.vue
index a33a2c3..1d19032 100644
--- a/src/views/layerManagement/index.vue
+++ b/src/views/layerManagement/index.vue
@@ -65,7 +65,7 @@
 const areaCode = userInfo.value?.detail?.areaCode || '';
 // 红色警告交叉面提示窗
 const isShowWaringTip = ref(false);
-const activeName = ref('电子围栏');
+const activeName = ref('自定义识别区');
 const activeType = ref('0');
 let tbJwdList = [];
 const selectDataList = ref([]);
@@ -73,7 +73,7 @@
 let curPolygonPosition = [];
 const tabData = ref([
   {
-    name: '电子围栏',
+    name: '自定义识别区',
     type: '0',
   },
   {
@@ -121,7 +121,7 @@
 };
 const getdataFolderApi = () => {
   let id;
-  if (activeName.value === '电子围栏') {
+  if (activeName.value === '自定义识别区') {
     id = 1;
   } else if (activeName.value === '自定义禁飞区') {
     id = 2;
@@ -282,7 +282,7 @@
       layerParams.value.editNest = true; // 显示右侧编辑组件
       layerParams.value.decideWhetherToAddOrEdit = 2; // 标记为编辑模式
       // 根据围栏类型设置fenceType
-      if (activeName.value === '电子围栏') {
+      if (activeName.value === '自定义识别区') {
         layerParams.value.fenceType = 1;
       } else if (activeName.value === '自定义禁飞区') {
         layerParams.value.fenceType = 2;

--
Gitblit v1.9.3