fix tinymce bug
This commit is contained in:
parent
6a8a02f839
commit
cb0e889829
|
@ -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))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue