From 96e311176800e7c04cc0c43a41b7cd12a262ee78 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Tue, 2 Jun 2020 15:24:43 +0800 Subject: [PATCH] i18n --- .../view/comonents/TestPlanTestCaseEdit.vue | 2 +- .../view/comonents/test/ApiTestDetail.vue | 10 +++++-- .../view/comonents/test/ApiTestResult.vue | 2 +- .../comonents/test/PerformanceTestResult.vue | 27 ++++++++++--------- frontend/src/i18n/en-US.js | 3 ++- frontend/src/i18n/zh-CN.js | 3 ++- frontend/src/i18n/zh-TW.js | 3 ++- 7 files changed, 31 insertions(+), 19 deletions(-) diff --git a/frontend/src/business/components/track/plan/view/comonents/TestPlanTestCaseEdit.vue b/frontend/src/business/components/track/plan/view/comonents/TestPlanTestCaseEdit.vue index 400d698051..210d51ad94 100644 --- a/frontend/src/business/components/track/plan/view/comonents/TestPlanTestCaseEdit.vue +++ b/frontend/src/business/components/track/plan/view/comonents/TestPlanTestCaseEdit.vue @@ -90,7 +90,7 @@ - + diff --git a/frontend/src/business/components/track/plan/view/comonents/test/ApiTestDetail.vue b/frontend/src/business/components/track/plan/view/comonents/test/ApiTestDetail.vue index c88ab4333d..b061b94314 100644 --- a/frontend/src/business/components/track/plan/view/comonents/test/ApiTestDetail.vue +++ b/frontend/src/business/components/track/plan/view/comonents/test/ApiTestDetail.vue @@ -10,7 +10,7 @@ :placeholder="$t('api_test.select_project')"> - + {{$t('api_test.run')}} @@ -31,7 +31,13 @@ export default { name: "ApiTestDetail", components: {MsMainContainer, MsContainer, MsApiScenarioConfig}, - props: ["id"], + props: { + id: String, + isReadOnly: { + type: Boolean, + default: false + } + }, data() { return { result: {}, diff --git a/frontend/src/business/components/track/plan/view/comonents/test/ApiTestResult.vue b/frontend/src/business/components/track/plan/view/comonents/test/ApiTestResult.vue index d00894b3f8..92cbe2c113 100644 --- a/frontend/src/business/components/track/plan/view/comonents/test/ApiTestResult.vue +++ b/frontend/src/business/components/track/plan/view/comonents/test/ApiTestResult.vue @@ -1,7 +1,7 @@