修改禅道已知bug
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user