fix(我的工作台测试跟踪接口测试): 功能用例列表接口列表接口用例列表接口自动化列表标签显示问题
--bug=1009035 --user=郭雨琦 【ID1009035】[github#8617]采用双标签过长后,显示BUG
This commit is contained in:
parent
19bd69c47f
commit
3495f4c596
|
@ -111,7 +111,7 @@
|
|||
:label="$t('api_test.automation.tag')">
|
||||
<template v-slot:default="scope">
|
||||
<ms-tag v-for="(itemName,index) in scope.row.tags" :key="index" type="success" effect="plain"
|
||||
:content="itemName" :show-tooltip="true"
|
||||
:content="itemName" :show-tooltip="scope.row.tags.length===1&&itemName.length*12<=120"
|
||||
tooltip style="margin-left: 0px; margin-right: 2px"/>
|
||||
<span/>
|
||||
</template>
|
||||
|
|
|
@ -132,7 +132,7 @@
|
|||
|
||||
<ms-table-column v-if="item.id=='tags'" prop="tags" width="120px" :label="$t('commons.tag')">
|
||||
<template v-slot:default="scope">
|
||||
<ms-tag v-for="(itemName,index) in scope.row.tags" :key="index" type="success" effect="plain"
|
||||
<ms-tag v-for="(itemName,index) in scope.row.tags" :key="index" type="success" effect="plain" :show-tooltip="scope.row.tags.length===1&&itemName.length*12<=120"
|
||||
:content="itemName" style="margin-left: 0px; margin-right: 2px"/>
|
||||
<span/>
|
||||
</template>
|
||||
|
|
|
@ -120,7 +120,7 @@
|
|||
:label="$t('commons.tag')">
|
||||
<template v-slot:default="scope">
|
||||
<ms-tag v-for="(itemName,index) in scope.row.tags" :key="index" type="success" effect="plain"
|
||||
:show-tooltip="true" :content="itemName"
|
||||
:show-tooltip="scope.row.tags.length===1&&itemName.length*12<=100" :content="itemName"
|
||||
style="margin-left: 0px; margin-right: 2px"/>
|
||||
<span/>
|
||||
</template>
|
||||
|
|
|
@ -125,8 +125,8 @@
|
|||
:label="$t('commons.tag')"
|
||||
min-width="80">
|
||||
<template v-slot:default="scope">
|
||||
<ms-tag v-for="(itemName,index) in scope.row.tags" :key="index" type="success" effect="plain"
|
||||
:content="itemName" style="margin-left: 0px; margin-right: 2px"/>
|
||||
<ms-tag v-for="(itemName,index) in scope.row.tags" :key="index" type="success" effect="plain" :show-tooltip="scope.row.tags.length===1&&itemName.length*12<=80"
|
||||
:content="itemName" style="margin-left: 0px; margin-right: 2px"/>
|
||||
<span/>
|
||||
</template>
|
||||
</ms-table-column>
|
||||
|
|
Loading…
Reference in New Issue