fix(测试跟踪): 修复关联测试用例列表字段初始状态为空

--bug=1019512 --user=刘瑶 【UI测试】场景列表-执行结果和指令列表-调试结果与测试报告-状态不一致 https://www.tapd.cn/55049933/s/1292919
This commit is contained in:
nathan.liu 2022-11-09 10:48:03 +08:00 committed by nathanliu2022
parent a7e91ddb00
commit 1c062421a7
1 changed files with 4 additions and 1 deletions

View File

@ -64,9 +64,12 @@
<el-link type="info" v-else-if="row.lastResult === 'PENDING' || row.lastResult === 'UnExecute'"> <el-link type="info" v-else-if="row.lastResult === 'PENDING' || row.lastResult === 'UnExecute'">
{{ $t('Pending') }} {{ $t('Pending') }}
</el-link> </el-link>
<el-link type="info" v-else> <el-link type="info" v-else-if="row.lastResult">
{{ row.lastResult }} {{ row.lastResult }}
</el-link> </el-link>
<el-link type="info" v-else>
{{ $t('Pending') }}
</el-link>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="passRate" :label="$t('api_test.automation.passing_rate')" <el-table-column prop="passRate" :label="$t('api_test.automation.passing_rate')"