fix(测试跟踪): 用例评审标签显示问题
--bug=1021788 --user=李玉号 【测试跟踪】用例评审-标签长度较长时-多个标签会被合成一个显示 https://www.tapd.cn/55049933/s/1325929
This commit is contained in:
parent
fcba6fd0df
commit
128ef19b77
|
@ -8,7 +8,7 @@
|
||||||
:label="$t('api_test.automation.tag')"
|
:label="$t('api_test.automation.tag')"
|
||||||
min-width="200px">
|
min-width="200px">
|
||||||
<template v-slot:default="scope">
|
<template v-slot:default="scope">
|
||||||
<span v-if="scope.row.tags.length === 1">
|
<span v-if="scope.row.tags && scope.row.tags.length === 1">
|
||||||
<ms-tag
|
<ms-tag
|
||||||
v-for="(name, index) in scope.row.tags"
|
v-for="(name, index) in scope.row.tags"
|
||||||
:key="index"
|
:key="index"
|
||||||
|
@ -19,7 +19,7 @@
|
||||||
/>
|
/>
|
||||||
</span>
|
</span>
|
||||||
<el-tooltip class="item" effect="dark" placement="top" :enterable="false" v-else>
|
<el-tooltip class="item" effect="dark" placement="top" :enterable="false" v-else>
|
||||||
<div v-html="scope.row.tags.join(',')" slot="content"></div>
|
<div v-html="scope.row.tags ? scope.row.tags.join(','): ''" slot="content"></div>
|
||||||
<div class="oneLine">
|
<div class="oneLine">
|
||||||
<ms-tag
|
<ms-tag
|
||||||
v-for="(name, index) in scope.row.tags"
|
v-for="(name, index) in scope.row.tags"
|
||||||
|
|
Loading…
Reference in New Issue