Commit 71db10ed authored by 黄奎's avatar 黄奎

页面修改

parent 28690e7f
...@@ -75,10 +75,7 @@ ...@@ -75,10 +75,7 @@
this.changeState = false; this.changeState = false;
}, },
getUEContent() { // 获取内容方法 getUEContent() { // 获取内容方法
if (this.editor) { return this.editor.getContent()
return this.editor.getContent();
}
return "";
}, },
loadUe() { loadUe() {
const _this = this; const _this = this;
...@@ -105,11 +102,11 @@ ...@@ -105,11 +102,11 @@
} }
}); });
this.editor.addListener('keyup', editor => { this.editor.addListener('keyup', editor => {
this.isInputChange = true; this.isInputChange = false;
_this.$emit('input', _this.editor.getContent()); _this.$emit('input', _this.editor.getContent());
}); });
this.editor.addListener('contentChange', editor => { this.editor.addListener('contentChange', editor => {
this.isInputChange = true; this.isInputChange = false;
_this.$emit('input', _this.editor.getContent()); _this.$emit('input', _this.editor.getContent());
}); });
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment