fix tinymce bug

This commit is contained in:
Pan 2017-09-01 10:12:50 +08:00
parent 6a8a02f839
commit cb0e889829
1 changed files with 1 additions and 1 deletions

View File

@ -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))
}
}
},