@qlibs/utils 1.1.2 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/utils/image.js +1 -1
- package/package.json +1 -1
package/dist/utils/image.js
CHANGED
@@ -110,7 +110,7 @@ function getFile(newFile) {
|
|
110
110
|
console.info('getFile - return (newFile as any).originFileObj');
|
111
111
|
return newFile.originFileObj;
|
112
112
|
}
|
113
|
-
else if (isImage) {
|
113
|
+
else if (isImage(newFile) && newFile instanceof File) {
|
114
114
|
console.info('getFile - return newFile');
|
115
115
|
return newFile;
|
116
116
|
}
|