fix: bug
This commit is contained in:
@@ -24,7 +24,8 @@
|
||||
watch:{
|
||||
mdString: {
|
||||
handler(val){
|
||||
this.contentHtml = this.parseContent(val)
|
||||
let _text = val.replace(/</g,'<').replace(/>/g,'>')
|
||||
this.contentHtml = this.parseContent(_text)
|
||||
},
|
||||
deep: true,
|
||||
immediate: true
|
||||
|
||||
Reference in New Issue
Block a user