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