fix(用例评审): 修复评论换行不生效的问题

This commit is contained in:
shiziyuan9527 2020-09-27 16:24:27 +08:00
parent 0b5b55e76c
commit 72b2a2784c
1 changed files with 42 additions and 36 deletions

View File

@ -11,7 +11,9 @@
{{ comment.createTime | timestampFormatDate }}
</span>
<br/>
<div class="comment-desc" style="font-size: 10px;color: #303133">{{comment.description}}</div>
<div class="comment-desc" style="font-size: 10px;color: #303133">
<pre>{{ comment.description }}</pre>
</div>
</div>
</div>
</template>
@ -66,4 +68,8 @@ export default {
word-break: break-all;
border-bottom: 1px solid #ced3de;
}
pre {
margin: 0 0;
}
</style>