fix(model): 将接口参数status改为enabled

统一将两处列表查询的参数从status改为enabled,匹配后端接口参数定义
This commit is contained in:
2026-05-15 09:26:42 +08:00
parent a835f54c67
commit 49995dfbc2
2 changed files with 2 additions and 2 deletions

View File

@@ -211,7 +211,7 @@ const fetchModelList = async () => {
pageSize: pagination.pageSize,
modelName: searchParams.modelName || undefined,
modelType: props.modelType, // 使用传入的 modelType
status: 1,
enabled: 1,
};
const res: any = await getModelModuleList(params);
modelList.value = res.data?.list || [];