修改禅道已知bug

This commit is contained in:
qq787203167
2022-08-23 14:11:03 +08:00
parent 1a0c6e1ad6
commit be5d42ece9
2 changed files with 12 additions and 9 deletions
@@ -243,6 +243,7 @@
if (this.conList && this.conList.length > 0) { if (this.conList && this.conList.length > 0) {
this.conList.forEach(val => { this.conList.forEach(val => {
val.content = val.content.replace(/<img .*?>/g, '') val.content = val.content.replace(/<img .*?>/g, '')
val.content = val.content.replace(/<\/?p[^>]*>/gi, '')
}) })
} }
this.total = res.result.total this.total = res.result.total
@@ -489,6 +490,7 @@
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
} }
::v-deep p { ::v-deep p {
margin: 0; margin: 0;
padding: 0; padding: 0;
@@ -219,6 +219,7 @@
if (this.conList && this.conList.length > 0) { if (this.conList && this.conList.length > 0) {
this.conList.forEach(val => { this.conList.forEach(val => {
val.content = val.content.replace(/<img .*?>/g, '') val.content = val.content.replace(/<img .*?>/g, '')
val.content = val.content.replace(/<\/?p[^>]*>/gi,'')
}) })
} }
this.total = res.result.total this.total = res.result.total