fix(测试跟踪): 功能用例评论数量统计

--bug=1023503 --user=李玉号 【测试跟踪】功能用例 - 评论,少了数量统计
https://www.tapd.cn/55049933/s/1340601
This commit is contained in:
shiziyuan9527 2023-02-22 14:28:32 +08:00 committed by lyh
parent 0dccf22eca
commit 07cd82ac25
1 changed files with 8 additions and 2 deletions

View File

@ -98,6 +98,12 @@
</div>
</el-tab-pane>
<el-tab-pane :label="$t('case.comment')" name="comment">
<span slot="label">
{{ $t('case.comment') }}
<div class="el-step__icon is-text ms-api-col ms-header" v-if="comments && comments.length > 0">
<div class="el-step__icon-inner">{{ comments.length }}</div>
</div>
</span>
<div
class="tab-container"
:class="{ 'comment-edit-tab-container': isCommentEdit }"
@ -425,8 +431,8 @@ export default {
.ms-header {
background: #783887;
color: white;
height: 18px;
width: 18px;
height: 24px;
width: 24px;
font-size: xx-small;
border-radius: 50%;
}