Commit cb0e8898 authored by Pan's avatar Pan

fix tinymce bug

parent 6a8a02f8
...@@ -47,7 +47,7 @@ export default { ...@@ -47,7 +47,7 @@ export default {
watch: { watch: {
value(val) { value(val) {
if (!this.hasChange && this.hasInit) { if (!this.hasChange && this.hasInit) {
this.$nextTick(() => window.tinymce.get(this.id).setContent(val)) this.$nextTick(() => window.tinymce.get(this.tinymceId).setContent(val))
} }
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment