mirror of
https://github.com/doocs/md.git
synced 2025-02-09 08:15:46 +08:00
fix: type error
This commit is contained in:
parent
c867c77289
commit
2bb4e90f27
@ -257,7 +257,7 @@ function beforeImageUpload(file: File) {
|
|||||||
// check image
|
// check image
|
||||||
const checkResult = checkImage(file)
|
const checkResult = checkImage(file)
|
||||||
if (!checkResult.ok) {
|
if (!checkResult.ok) {
|
||||||
toast.error(checkResult.msg)
|
toast.error(checkResult.msg || ``)
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
// check image host
|
// check image host
|
||||||
|
Loading…
x
Reference in New Issue
Block a user