fix 修复 富文本图片路径错误问题

master
疯狂的狮子li 4 years ago
parent 6a8deaf61a
commit cf4b49ca3b

@ -176,7 +176,7 @@ export default {
//
let length = quill.getSelection().index;
// res.url
quill.insertEmbed(length, "image", process.env.VUE_APP_BASE_API + res.data.fileName);
quill.insertEmbed(length, "image", res.data.url);
//
quill.setSelection(length + 1);
} else {

Loading…
Cancel
Save