perf[Tinymce]: remove useless code (#3295)

This commit is contained in:
crayymumu 2020-07-01 13:50:18 +08:00 committed by 花裤衩
parent 3782a9f332
commit c63755f4ca
1 changed files with 1 additions and 4 deletions

View File

@ -211,10 +211,7 @@ export default {
window.tinymce.get(this.tinymceId).getContent() window.tinymce.get(this.tinymceId).getContent()
}, },
imageSuccessCBK(arr) { imageSuccessCBK(arr) {
const _this = this arr.forEach(v => window.tinymce.get(this.tinymceId).insertContent(`<img class="wscnph" src="${v.url}" >`))
arr.forEach(v => {
window.tinymce.get(_this.tinymceId).insertContent(`<img class="wscnph" src="${v.url}" >`)
})
} }
} }
} }