fix(model,settings): 给模型查询接口添加上status=1参数

在两个模型列表查询的请求参数中新增status=1,仅查询启用状态的模型数据
This commit is contained in:
2026-05-15 09:23:36 +08:00
parent 6ac6cc4659
commit a835f54c67
2 changed files with 2 additions and 0 deletions

View File

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