From e52521dc7a3e52cf53e2ab2b4e1c71cfe0b4a10d Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Fri, 15 Aug 2025 16:48: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