修改禅道已知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
@@ -56,14 +56,14 @@
<span style="cursor: pointer" v-html="item.title"></span>
</a-tooltip>
</div>
<!-- <a-tooltip placement="topLeft" overlayClassName="tooltip-index" :mouseEnterDelay="0.5">-->
<!-- <template slot="title">-->
<!-- <span v-html="item.content"></span>-->
<!-- </template>-->
<div class="text-content" v-html="item.content"
>
</div>
<!-- </a-tooltip>-->
<!-- <a-tooltip placement="topLeft" overlayClassName="tooltip-index" :mouseEnterDelay="0.5">-->
<!-- <template slot="title">-->
<!-- <span v-html="item.content"></span>-->
<!-- </template>-->
<div class="text-content" v-html="item.content"
>
</div>
<!-- </a-tooltip>-->
</div>
</div>
</li>
@@ -243,6 +243,7 @@
if (this.conList && this.conList.length > 0) {
this.conList.forEach(val => {
val.content = val.content.replace(/<img .*?>/g, '')
val.content = val.content.replace(/<\/?p[^>]*>/gi, '')
})
}
this.total = res.result.total
@@ -489,7 +490,8 @@
overflow: hidden;
text-overflow: ellipsis;
}
::v-deep p{
::v-deep p {
margin: 0;
padding: 0;
}