Skip to content

Commit

Permalink
perf[Tinymce]: remove useless code (#3295)
Browse files Browse the repository at this point in the history
  • Loading branch information
crayymumu committed Jul 1, 2020
1 parent 7c06214 commit fe22b3c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/components/Tinymce/index.vue
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

0 comments on commit fe22b3c

Please sign in to comment.