fix(接口测试): 修复编辑场景点击场景导入,点击执行结果前端报错的缺陷

--bug=1026990 --user=王孝刚 【接口测试】场景详情-场景导入-点击执行结果-前端报错
https://www.tapd.cn/55049933/s/1386141
This commit is contained in:
wxg0103 2023-06-26 13:58:08 +08:00 committed by f2c-ci-robot[bot]
parent b59b1de5cb
commit 978ed0281e
1 changed files with 4 additions and 4 deletions

View File

@ -64,12 +64,12 @@
<el-table-column prop="stepTotal" :label="$t('api_test.automation.step')" show-overflow-tooltip />
<el-table-column prop="lastResult" :label="$t('api_test.automation.last_result')">
<template v-slot:default="{ row }">
<el-link type="success" @click="showReport(row)" v-if="row.lastResult === 'SUCCESS'">
<el-tag type="success" size="mini" v-if="row.lastResult === 'SUCCESS'">
{{ $t('api_test.automation.success') }}
</el-link>
<el-link type="danger" @click="showReport(row)" v-if="row.lastResult === 'ERROR'">
</el-tag>
<el-tag type="danger" size="mini" v-if="row.lastResult === 'ERROR'">
{{ $t('api_test.automation.fail') }}
</el-link>
</el-tag>
</template>
</el-table-column>
<el-table-column prop="passRate" :label="$t('api_test.automation.passing_rate')" show-overflow-tooltip />