mirror of
https://github.com/yangzongzhuan/RuoYi-Cloud.git
synced 2025-06-06 22:09:40 +00:00
修复Editor组件无法对响应式更新null值问题
This commit is contained in:
parent
f9d537b567
commit
293b855866
@ -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);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user