refactor:基于 lint 处理排版

This commit is contained in:
YunaiV
2025-04-22 22:10:33 +08:00
parent 3fe36fd823
commit fb785894b6
322 changed files with 4781 additions and 2093 deletions

View File

@@ -113,6 +113,7 @@ export const useUpload = () => {
});
} else {
// 模式二:后端上传
// TODO @芋艿:这里有爆红
return uploadFile({ file }, onUploadProgress);
}
};
@@ -168,4 +169,4 @@ async function generateFileName(file: File) {
// 拼接后缀
const ext = file.name.slice(Math.max(0, file.name.lastIndexOf('.')));
return `${sha256}${ext}`;
}
}