mirror of
https://github.com/labring/FastGPT.git
synced 2025-08-02 20:58:12 +00:00
fix: img compress (#546)
This commit is contained in:
@@ -92,6 +92,7 @@ export const compressBase64ImgAndUpload = ({
|
||||
reject(error);
|
||||
}
|
||||
};
|
||||
img.onerror = reject;
|
||||
});
|
||||
};
|
||||
export const compressImgFileAndUpload = async ({
|
||||
|
Reference in New Issue
Block a user