follow PanJiaChen's advice
This commit is contained in:
parent
ba00a013bc
commit
e7a2bd7794
|
@ -51,7 +51,7 @@ export default {
|
||||||
value(val) {
|
value(val) {
|
||||||
if (!this.hasChange && this.hasInit) {
|
if (!this.hasChange && this.hasInit) {
|
||||||
if (val === null) val = ''
|
if (val === null) val = ''
|
||||||
this.$nextTick(() => window.tinymce.get(this.tinymceId).setContent(val))
|
this.$nextTick(() => window.tinymce.get(this.tinymceId).setContent(val||''))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue