From 20c197e5f67ee0ddd542065f53728033460aac21 Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Wed, 10 Dec 2025 09:39:34 +0800
Subject: [PATCH] feat:更新历史任务详情功能

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

diff --git a/src/views/job/components/TaskAlgorithmBusiness.vue b/src/views/job/components/TaskAlgorithmBusiness.vue
index 682cc2d..fbfe8d3 100644
--- a/src/views/job/components/TaskAlgorithmBusiness.vue
+++ b/src/views/job/components/TaskAlgorithmBusiness.vue
@@ -11,7 +11,7 @@
 			collapse-tags-tooltip
 			placeholder="支持多项选择"
 			clearable
-    @clear="clear"
+    @clear="handleClear"
 			@change="handleAlgorithmChange"
 		>
 			<el-option v-for="item in taskAlgorithm" :key="item.id" :label="item.dictValue" :value="item.dictKey" />
@@ -78,13 +78,13 @@
 	emit('businessChange', value)
 }
 
-const clear = () => {
-	ai_types.value = [] // 清空算法选择
-	handleAlgorithmChange(ai_types.value)
+function handleClear() {
+  ai_types.value = []
+  emit('algorithmChange', [])
 }
 
 defineExpose({
-	clear,
+  handleClear,
 })
 
 onMounted(() => {

--
Gitblit v1.9.3