fix 修复 富文本编辑器 添加之后内容未清理问题
This commit is contained in:
parent
cc6284d3ac
commit
3f08ae6ac4
@ -110,7 +110,7 @@ watch(
|
|||||||
() => props.modelValue,
|
() => props.modelValue,
|
||||||
(v: string) => {
|
(v: string) => {
|
||||||
if (v !== content.value) {
|
if (v !== content.value) {
|
||||||
content.value = v === undefined ? '<p></p>' : v;
|
content.value = v || '<p></p>';
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{ immediate: true }
|
{ immediate: true }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user