Skip to content

Commit

Permalink
fix tinymce bug
Browse files Browse the repository at this point in the history
  • Loading branch information
PanJiaChen committed Sep 1, 2017
1 parent 6a8a02f commit cb0e889
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Tinymce/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
}
},
Expand Down

0 comments on commit cb0e889

Please sign in to comment.