From 1591bdf1abcd66e2ca6433f09fa5335aeeec4804 Mon Sep 17 00:00:00 2001
From: xiaoxiao <2014227881@qq.com>
Date: Sun, 02 Nov 2025 17:02:28 +0800
Subject: [PATCH] feat:删除清除地图数据

---
 src/views/job/components/TaskAlgorithmBusiness.vue |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/src/views/job/components/TaskAlgorithmBusiness.vue b/src/views/job/components/TaskAlgorithmBusiness.vue
index c5c0a9a..8e9b992 100644
--- a/src/views/job/components/TaskAlgorithmBusiness.vue
+++ b/src/views/job/components/TaskAlgorithmBusiness.vue
@@ -77,6 +77,15 @@
 	emit('businessChange', value)
 }
 
+const clear = () => {
+	ai_types.value = [] // 清空算法选择
+	handleAlgorithmChange(ai_types.value)
+}
+
+defineExpose({
+	clear,
+})
+
 onMounted(() => {
 	requestDictionary()
 })

--
Gitblit v1.9.3