add switch

This commit is contained in:
2024-02-21 12:04:41 +08:00
parent 76d1838768
commit aa7fbd47a0
65 changed files with 2220 additions and 806 deletions

View File

@@ -81,7 +81,7 @@ export function getBase64(file: File | undefined | null): Promise<string | undef
})
}
export async function getImageUploadModel(files: UploadFileInfo[] | undefined | null, maxSize: number = 10 * 1024 * 1024) {
let result = {
const result = {
existImages: [],
newImagesBase64: [],
} as { existImages: string[]; newImagesBase64: string[] }