fix 文档拆分编辑-条文内容、条文解读为空显示—

This commit is contained in:
赵霄
2024-01-24 14:41:16 +08:00
parent f777d43cca
commit dbd9ad5c72
@@ -155,16 +155,18 @@
<!--条文内容-->
<template slot="item_content" slot-scope="{text, record}">
<div class="table-text" @click="showContent('item_content', text,record)">
<div class="table-text" v-if="text || text === 0" @click="showContent('item_content', text,record)">
{{ text && text !== 'null' ? text.replace(/<.*?>/ig, ' ') : '' }}
</div>
<div class="table-text" v-else>{{ global.emptyLine }}</div>
</template>
<!--条文解读-->
<template slot="interpretation_articles" slot-scope="{text, record}">
<div class="table-text" @click="showContent('interpretation_articles', text,record)">
<div class="table-text" v-if="text || text === 0" @click="showContent('interpretation_articles', text,record)">
{{ text && text !== 'null' ? text.replace(/<.*?>/ig, ' ') : '' }}
</div>
<div class="table-text" v-else>{{ global.emptyLine }}</div>
</template>
</j-table>