src/views/layerManagement/components/folderFile.vue
@@ -117,6 +117,7 @@ })); }; const handleTypeChange = typeValue => { formData.value.algorithm_name = ''; const matchedCategory = allAlgorithms.value.find(category => category.dict_key === typeValue); if (!matchedCategory || !matchedCategory.algorithms || matchedCategory.algorithms.length === 0) { // 无匹配的算法时清空