Compare commits

...

2 Commits

Author SHA1 Message Date
YangFong
184f648025
Merge 2bb4e90f27459ba9a59a46e789c66e5bbefcf3e3 into c52593ba50ce437550a978622f1a8a1901a991fa 2024-12-06 01:41:49 +00:00
YangFong
2bb4e90f27 fix: type error 2024-12-06 09:41:29 +08:00

View File

@ -257,7 +257,7 @@ function beforeImageUpload(file: File) {
// check image
const checkResult = checkImage(file)
if (!checkResult.ok) {
toast.error(checkResult.msg)
toast.error(checkResult.msg || ``)
return false
}
// check image host