feat: 大量优化和bug修复

This commit is contained in:
2026-05-23 22:23:29 +08:00
parent 92b063c4c4
commit fc71e924e7
39 changed files with 1381 additions and 302 deletions
+13
View File
@@ -46,4 +46,17 @@ export default class BaseClientService {
return { data };
}
/** 发起 PUT 请求 */
public static async put<T, B extends object | undefined = undefined>(
url: string,
body?: B
) {
const data = await $fetch<T>(url, {
method: "PUT",
body
});
return { data };
}
}