fix(接口测试): 修复场景报告控制器显示不一致的缺陷

--bug=1026192 --user=王孝刚 【接口测试】场景报告-控制器默认名称中英文不统一
https://www.tapd.cn/55049933/s/1371921
This commit is contained in:
wxg0103 2023-05-16 16:02:48 +08:00 committed by fit2-zhao
parent 8b9d7f2a22
commit 759ff33f21
1 changed files with 7 additions and 3 deletions

View File

@ -74,11 +74,15 @@ export default {
getLabel(label) {
switch (label) {
case 'ConstantTimer':
return '等待控制器';
return this.$t('api_test.automation.wait_controller');
case 'LoopController':
return '循环控制器';
return this.$t('api_test.automation.loop_controller');
case 'Assertion':
return '场景断言';
return this.$t('api_test.definition.request.scenario_assertions');
case 'IfController':
return this.$t('api_test.automation.if_controller');
case 'TransactionController':
return this.$t('api_test.automation.transaction_controller');
default:
return label;
}