From b89f63a86917495f031e9a4e7e299bb31a2d9998 Mon Sep 17 00:00:00 2001 From: crayymumu <854994301@qq.com> Date: Wed, 1 Jul 2020 13:44:42 +0800 Subject: [PATCH] perf[Tinymce]: remove useless code --- src/components/Tinymce/index.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/components/Tinymce/index.vue b/src/components/Tinymce/index.vue index 0cd4e9cd..cb6b91c7 100644 --- a/src/components/Tinymce/index.vue +++ b/src/components/Tinymce/index.vue @@ -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(``) - }) + arr.forEach(v => window.tinymce.get(this.tinymceId).insertContent(``)) } } }