|
|
@ -300,7 +300,7 @@ export default { |
|
|
|
if (res.code !== 0) { |
|
|
|
return this.$message.error(res.msg) |
|
|
|
} |
|
|
|
this.quillEditor.insertEmbed(this.quillEditor.getSelection().index, 'image', res.data.url) |
|
|
|
this.quillEditor.insertEmbed(this.quillEditor.getSelection().index, 'image', res.data.thumbnail) |
|
|
|
}, |
|
|
|
// 上传图片 |
|
|
|
handleAvatarSuccess (res, file) { |
|
|
|