diff --git a/src/components/Tinymce/index.vue b/src/components/Tinymce/index.vue index 97ad2432..c76c206c 100644 --- a/src/components/Tinymce/index.vue +++ b/src/components/Tinymce/index.vue @@ -48,7 +48,8 @@ export default { }, watch: { value(val) { - if (!this.hasChange && this.hasInit) { + if (val == null) {val = ''} + if (this.hasInit) { this.$nextTick(() => window.tinymce.get(this.tinymceId).setContent(val)) } }