Merge branch 'main' into um-5

This commit is contained in:
Feng Yue
2025-08-25 17:19:24 +08:00
74 changed files with 9466 additions and 1901 deletions

View File

@@ -170,9 +170,12 @@ class ApiClient {
// DELETE 请求
async delete(url, options = {}) {
const fullUrl = createApiUrl(url)
const { data, ...restOptions } = options
const config = this.buildConfig({
...options,
method: 'DELETE'
...restOptions,
method: 'DELETE',
body: data ? JSON.stringify(data) : undefined
})
try {