format code

This commit is contained in:
2024-02-21 12:05:28 +08:00
parent aa7fbd47a0
commit cc778d22b4
12 changed files with 1197 additions and 1061 deletions

View File

@@ -80,7 +80,10 @@ export function getBase64(file: File | undefined | null): Promise<string | undef
reader.onerror = (error) => reject(error)
})
}
export async function getImageUploadModel(files: UploadFileInfo[] | undefined | null, maxSize: number = 10 * 1024 * 1024) {
export async function getImageUploadModel(
files: UploadFileInfo[] | undefined | null,
maxSize: number = 10 * 1024 * 1024,
) {
const result = {
existImages: [],
newImagesBase64: [],