fix(测试跟踪): 修复测试计划-UI测试用例列表-操作-执行后执行结果未更新

--bug=1018918 --user=刘瑶 【UI测试】测试跟踪-测试计划-UI测试用例列表-操作-执行后执行结果未更新 https://www.tapd.cn/55049933/s/1278189
--bug=1018919 --user=刘瑶 【UI测试】测试计划-关联测试用例-弹框有时候不显示数据 https://www.tapd.cn/55049933/s/1278195
This commit is contained in:
nathan.liu 2022-10-26 14:33:18 +08:00 committed by nathanliu2022
parent 8b41f79edd
commit 82ab0ad6ae
2 changed files with 2 additions and 2 deletions

View File

@ -144,7 +144,7 @@ export default {
}, },
projectId() { projectId() {
this.condition = { this.condition = {
components: TEST_PLAN_RELEVANCE_API_SCENARIO_CONFIGS components: TEST_PLAN_RELEVANCE_UI_SCENARIO_CONFIGS
}; };
this.selectNodeIds.length = 0; this.selectNodeIds.length = 0;
this.search(); this.search();

View File

@ -148,7 +148,7 @@
:label="$t('api_test.automation.last_result')"> :label="$t('api_test.automation.last_result')">
<template v-slot:default="{row}"> <template v-slot:default="{row}">
<el-link @click="showReport(row)" :disabled="!row.lastResult || row.lastResult==='PENDING' || row.lastResult==='UnExecute'"> <el-link @click="showReport(row)" :disabled="!row.lastResult || row.lastResult==='PENDING' || row.lastResult==='UnExecute'">
<ms-test-plan-api-status status="PENDING"/> <ms-test-plan-api-status :status="row.lastResult==='UnExecute' ? 'PENDING' : row.lastResult"/>
</el-link> </el-link>
</template> </template>
</ms-table-column> </ms-table-column>