diff --git a/mall4v/src/components/tiny-mce/index.vue b/mall4v/src/components/tiny-mce/index.vue index 74c20b7..428a3fb 100644 --- a/mall4v/src/components/tiny-mce/index.vue +++ b/mall4v/src/components/tiny-mce/index.vue @@ -243,10 +243,7 @@ export default { return isLt2M && isJPG }, imageSuccessCBK (response, file, fileList) { - const _this = this - fileList.forEach(v => { - window.tinymce.get(_this.tinymceId).insertContent(``) - }) + window.tinymce.get(this.tinymceId).insertContent(``) } } }