完善插件管理页面

This commit is contained in:
Sakura-RanChen
2025-05-12 16:48:34 +08:00
parent def598f728
commit afd03ba1b5
2 changed files with 37 additions and 26 deletions
+2 -2
View File
@@ -353,10 +353,10 @@ export default {
},
showFunctionIcons(type) {
return type === 'Intent' &&
this.form.model.intentModelId === 'Intent_function_call';
this.form.model.intentModelId !== 'Intent_nointent';
},
handleModelChange(type, value) {
if (type === 'Intent' && value === 'Intent_function_call') {
if (type === 'Intent' && value !== 'Intent_nointent') {
this.fetchFunctionList();
}
},