From 1a8a9ff4fd90e28bf33bca809c5ea0372db3dd48 Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Thu, 04 Sep 2025 17:13:34 +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