fix(model): 将接口参数status改为enabled
统一将两处列表查询的参数从status改为enabled,匹配后端接口参数定义
This commit is contained in:
@@ -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 || [];
|
||||
|
||||
Reference in New Issue
Block a user