修改禅道已知bug
This commit is contained in:
@@ -56,14 +56,14 @@
|
|||||||
<span style="cursor: pointer" v-html="item.title"></span>
|
<span style="cursor: pointer" v-html="item.title"></span>
|
||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
</div>
|
</div>
|
||||||
<!-- <a-tooltip placement="topLeft" overlayClassName="tooltip-index" :mouseEnterDelay="0.5">-->
|
<!-- <a-tooltip placement="topLeft" overlayClassName="tooltip-index" :mouseEnterDelay="0.5">-->
|
||||||
<!-- <template slot="title">-->
|
<!-- <template slot="title">-->
|
||||||
<!-- <span v-html="item.content"></span>-->
|
<!-- <span v-html="item.content"></span>-->
|
||||||
<!-- </template>-->
|
<!-- </template>-->
|
||||||
<div class="text-content" v-html="item.content"
|
<div class="text-content" v-html="item.content"
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
<!-- </a-tooltip>-->
|
<!-- </a-tooltip>-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
@@ -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,7 +490,8 @@
|
|||||||
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