mirror of
https://github.com/doocs/md.git
synced 2025-02-10 16:55:49 +08:00
Compare commits
2 Commits
5b42e1fd33
...
184f648025
Author | SHA1 | Date | |
---|---|---|---|
|
184f648025 | ||
|
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