From ef30356050cca31f1d101feb0fbab29fc3d4dcb4 Mon Sep 17 00:00:00 2001 From: Insua Date: Fri, 1 Jun 2018 14:59:39 +0800 Subject: [PATCH] Update index.vue --- src/components/Tinymce/index.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/Tinymce/index.vue b/src/components/Tinymce/index.vue index 2edf2332..c2a47b8a 100644 --- a/src/components/Tinymce/index.vue +++ b/src/components/Tinymce/index.vue @@ -51,7 +51,8 @@ export default { value(val) { if (!this.hasChange && this.hasInit) { if (val === null) val = '' - this.$nextTick(() => window.tinymce.get(this.tinymceId).setContent(val||'')) + this.$nextTick(() => + window.tinymce.get(this.tinymceId).setContent(val||'')) } } },