From cc6ed9d9f2aa4d07e5f900843779a094e7a4dbab Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Mon, 21 Jul 2025 11:16:26 +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