Skip to content

Commit cb0e889

Browse files
committed
fix tinymce bug
1 parent 6a8a02f commit cb0e889

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Tinymce/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export default {
4747
watch: {
4848
value(val) {
4949
if (!this.hasChange && this.hasInit) {
50-
this.$nextTick(() => window.tinymce.get(this.id).setContent(val))
50+
this.$nextTick(() => window.tinymce.get(this.tinymceId).setContent(val))
5151
}
5252
}
5353
},

0 commit comments

Comments
 (0)