feat: 本次提交更新内容如下
eslint规则校验
This commit is contained in:
@@ -7,7 +7,7 @@ import request from "./request";
|
||||
*/
|
||||
export async function uploadFile(
|
||||
file: File,
|
||||
uploadUrl: string = "/v1/attachment/upload"
|
||||
uploadUrl: string = "/v1/attachment/upload",
|
||||
): Promise<string> {
|
||||
try {
|
||||
// 创建 FormData 对象用于文件上传
|
||||
|
||||
Reference in New Issue
Block a user