refactor(api): 优化知识库查询和修改接口

- 在 datasetsEx/query 和 datasetsEx/update 接口中添加 noLoading 参数
- 设置 noLoading 为 true,以优化接口调用时的用户体验
This commit is contained in:
陈昱达
2025-05-06 17:48:30 +08:00
parent 4f15718f6f
commit e7f60507d8

View File

@@ -14,7 +14,8 @@ export function getDatasetById(params) {
return request({
url: getUrl('/datasetsEx/query'),
method: 'get',
params: params
params: params,
noLoading: true
})
}
// 知识库内容修改
@@ -22,7 +23,8 @@ export function datasetUpdate(data) {
return request({
url: getUrl('/datasetsEx/update'),
method: 'post',
data
data,
noLoading: true
})
}
// 知识库新增