useWorker
useWorker copied to clipboard
Uncaught ReferenceError: _components_common_Upload…alog__WEBPACK_IMPORTED_MODULE_14__ is not defined
Sample code:
const onRunCompress = async (uploadOption: UploadOptions) => { if (waitingImages.length === 0) return;
const imageList = [];
for (let i = 0; i < waitingImages.length; i++) {
imageList.push(waitingImages[i]);
}
setIsSubmit(true);
arraySpliter(imageList, 10).forEach(async e => {
try {
**const compressedPack = await compressWorker(uploadOption, e);**
console.log('compressedPack: ', compressedPack);
} catch (e) {
console.log(e);
}
});
};
It's return ErrorEvent with this message: "Uncaught ReferenceError: components_common_UploadOptionDialog__WEBPACK_IMPORTED_MODULE_14_ is not defined"
Can someone help me with this?
这是来自QQ邮箱的假期自动回复邮件。你好,我最近正在休假中,无法亲自回复你的邮件。我将在假期结束后,尽快给你回复。
This is unmaintained. I tried contacting the author and got no reply. I created a new package based on a fork here. It should have your issues corrected as well as some extra features.
Same problem
Same problem