mirror of
https://gitee.com/gz-yami/mall4v.git
synced 2026-03-22 08:07:17 +08:00
修复 富文本删除后重新上传,会显示删掉的图片
This commit is contained in:
@@ -243,10 +243,7 @@ export default {
|
|||||||
return isLt2M && isJPG
|
return isLt2M && isJPG
|
||||||
},
|
},
|
||||||
imageSuccessCBK (response, file, fileList) {
|
imageSuccessCBK (response, file, fileList) {
|
||||||
const _this = this
|
window.tinymce.get(this.tinymceId).insertContent(`<img class="wscnph" src="${this.resourcesUrl + file.response.data}" >`)
|
||||||
fileList.forEach(v => {
|
|
||||||
window.tinymce.get(_this.tinymceId).insertContent(`<img class="wscnph" src="${this.resourcesUrl + v.response.data}" >`)
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user