fix(UI自动化): 修复测试报告Error状态tip为空

--bug=1013917 --user=刘瑶 【UI测试】前端问题汇总 https://www.tapd.cn/55049933/s/1178549
This commit is contained in:
nathan.liu 2022-06-10 10:56:53 +08:00 committed by f2c-ci-robot[bot]
parent bbceeb1285
commit 3059532978
3 changed files with 6 additions and 3 deletions

@ -1 +1 @@
Subproject commit a1261a0f08e592a4a7aeeb95978ca9d5995daf32
Subproject commit 51e8263ea1cc8427322a2143775710370114fe70

View File

@ -12,7 +12,7 @@
<el-tag size="mini" type="warning" v-else-if="row.status === 'Reporting'">
{{ row.status }}
</el-tag>
<el-tooltip placement="top" v-else-if="row.status === 'Error'" effect="light">
<el-tooltip placement="top" v-else-if="row.status === 'Error' && row.description" effect="light">
<template v-slot:content>
<div>{{row.description}}</div>
</template>
@ -20,6 +20,9 @@
{{ row.status }}
</el-tag>
</el-tooltip>
<el-tag v-else-if="row.status === 'Error' && !row.description" size="mini" type="danger">
{{ row.status }}
</el-tag>
<el-tag v-else size="mini" type="info">
{{ row.status }}
</el-tag>

@ -1 +1 @@
Subproject commit 52a191d0d22204a47ce6142af036b51198f89652
Subproject commit 715a3f3e2828d496c2f04df949a545fc1f09bfb3