From 74785345678193a093f9d90d1cb688c22cb42cb7 Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Mon, 13 Feb 2023 11:24:35 +0800
Subject: [PATCH] 安保管理修复活动区域没选择提交时报错

---
 src/components/map/mapBox.vue |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/components/map/mapBox.vue b/src/components/map/mapBox.vue
index 4891e55..e2d53b9 100644
--- a/src/components/map/mapBox.vue
+++ b/src/components/map/mapBox.vue
@@ -388,6 +388,9 @@
             _this.lineVector.getSource().clear()
             _this.showTip = false
             _this.tipTitle = null
+
+            // 传值给父组件
+            _this.$emit('toData', "")
         },
         // 获取新的 layer 图层对象
         getLayer () {

--
Gitblit v1.9.3