no message
This commit is contained in:
parent
0c4882fcaf
commit
4bbb43dcfe
@ -96,7 +96,7 @@
|
|||||||
const data = new FormData();
|
const data = new FormData();
|
||||||
data.append("files", blobInfo.blob() ,blobInfo.filename());
|
data.append("files", blobInfo.blob() ,blobInfo.filename());
|
||||||
API.common.upload.post(data).then((res) => {
|
API.common.upload.post(data).then((res) => {
|
||||||
resolve(res.data.src)
|
resolve(res.data.url)
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
reject("Image upload failed")
|
reject("Image upload failed")
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user