fix: 测试计划自报告自定义表格样式问题

This commit is contained in:
chenjianxing 2021-01-05 13:44:55 +08:00
parent 83da070040
commit af8b6e4ae0
1 changed files with 8 additions and 1 deletions

View File

@ -9,7 +9,7 @@
<template>
<ckeditor v-if="!isReportView" :editor="editor" v-model="preview.content" :config="editorConfig"></ckeditor>
<div v-if="isReportView" v-html="preview.content"></div>
<div class="rich-text-content" v-if="isReportView" v-html="preview.content"></div>
</template>
</common-component>
@ -53,4 +53,11 @@
<style scoped>
.rich-text-content >>> .table td {
border: solid 1px #e6e6e6;
min-width: 2em;
padding: .4em;
}
</style>