mirror of
https://github.com/doocs/md.git
synced 2025-02-09 08:15:46 +08:00
Compare commits
2 Commits
5b42e1fd33
...
184f648025
Author | SHA1 | Date | |
---|---|---|---|
|
184f648025 | ||
|
2bb4e90f27 |
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user