Commit aed958b1 authored by 若依's avatar 若依 Committed by Gitee

!82 修复Editor组件在传入内容为null时无法响应式更新其内容的bug

Merge pull request !82 from HaoRan/N/A
parents 4f86b6d9 a65c2870
......@@ -71,9 +71,9 @@ export default {
value: {
handler(val) {
if (val !== this.currentValue) {
this.currentValue = val;
this.currentValue = val === null ? "" : val;
if (this.Quill) {
this.Quill.pasteHTML(this.value);
this.Quill.pasteHTML(this.currentValue);
}
}
},
......
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