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

This commit is contained in:
疯狂的狮子li 2021-08-18 14:49:31 +08:00
parent 6a8deaf61a
commit cf4b49ca3b
1 changed files with 1 additions and 1 deletions

View File

@ -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 {