fix(model,settings): 给模型查询接口添加上status=1参数
在两个模型列表查询的请求参数中新增status=1,仅查询启用状态的模型数据
This commit is contained in:
@@ -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 || [];
|
||||
|
||||
Reference in New Issue
Block a user