refactor(api): 移除 datasetQueryDelete 函数中的多余参数- 删除了 datasetQueryDelete 函数中不必要的 data 参数

- 优化了 API 请求的结构,提高了代码的可读性和维护性
This commit is contained in:
陈昱达
2025-04-15 09:53:35 +08:00
parent 9f78a2fb81
commit 3af02f13dc

View File

@@ -188,7 +188,6 @@ export function datasetQuerySegments(data) {
export function datasetQueryDelete(data) {
return request({
url: getUrl(`/datasetDocumentEx/delete?documentId=${data.id}`),
method: 'delete',
data
method: 'delete'
})
}