fix: remove if condition

pull/732/head
insua 2018-06-01 15:30:07 +08:00
parent c1b6bcc886
commit 2b67062ede
1 changed files with 0 additions and 1 deletions

View File

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