www:新增问题反馈功能;dashboard:适配问题反馈功能,可以在后台系统和用户沟通

This commit is contained in:
eafonyang
2026-08-20 16:42:01 +08:00
parent 5ae979f7e1
commit 3702ad4163
31 changed files with 1956 additions and 11 deletions
+6 -1
View File
@@ -50,5 +50,10 @@ export function useRequest() {
return request<T>(url, { method: 'POST', body });
}
return { request, get, post };
/** POST multipart/form-data(文件上传;ofetch 自动设置 boundary */
function postForm<T = unknown>(url: string, body: FormData) {
return request<T>(url, { method: 'POST', body });
}
return { request, get, post, postForm };
}