This commit is contained in:
2018-04-30 06:59:20 +00:00 committed by GitHub
commit de2b0d6ace
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -48,7 +48,8 @@ export default {
},
watch: {
value(val) {
if (!this.hasChange && this.hasInit) {
if (val == null) {val = ''}
if (this.hasInit) {
this.$nextTick(() => window.tinymce.get(this.tinymceId).setContent(val))
}
}