Compare commits

..

1 Commits

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