This commit is contained in:
杨航
2025-12-05 12:11:52 +08:00
parent 1deecae63f
commit f023d244f9
@@ -24,7 +24,8 @@
watch:{
mdString: {
handler(val){
this.contentHtml = this.parseContent(val)
let _text = val.replace(/</g,'&lt;').replace(/>/g,'&gt;')
this.contentHtml = this.parseContent(_text)
},
deep: true,
immediate: true