mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-07 02:46:55 +08:00
format code
This commit is contained in:
@@ -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: [],
|
||||
|
||||
Reference in New Issue
Block a user