update 富文本接口返回值修正

feature/model
疯狂的狮子li 3 years ago
parent e30079d656
commit 821f54f1ab

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

Loading…
Cancel
Save