Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
perf[Tinymce]: remove useless code
  • Loading branch information
crayymumu authored Jul 1, 2020
commit b89f63a86917495f031e9a4e7e299bb31a2d9998
5 changes: 1 addition & 4 deletions src/components/Tinymce/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,7 @@ export default {
window.tinymce.get(this.tinymceId).getContent()
},
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}" >`))
}
}
}
Expand Down