From cb0e889829f70140564f48bf7454a731d62bdb4b Mon Sep 17 00:00:00 2001 From: Pan Date: Fri, 1 Sep 2017 10:12:50 +0800 Subject: [PATCH] fix tinymce bug --- src/components/Tinymce/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Tinymce/index.vue b/src/components/Tinymce/index.vue index 59d7ae0a..0dd164b3 100644 --- a/src/components/Tinymce/index.vue +++ b/src/components/Tinymce/index.vue @@ -47,7 +47,7 @@ export default { watch: { value(val) { if (!this.hasChange && this.hasInit) { - this.$nextTick(() => window.tinymce.get(this.id).setContent(val)) + this.$nextTick(() => window.tinymce.get(this.tinymceId).setContent(val)) } } },