diff --git a/frontend/src/business/components/api/automation/scenario/common/ApiBaseComponent.vue b/frontend/src/business/components/api/automation/scenario/common/ApiBaseComponent.vue index 43b192de79..eef1d7868b 100644 --- a/frontend/src/business/components/api/automation/scenario/common/ApiBaseComponent.vue +++ b/frontend/src/business/components/api/automation/scenario/common/ApiBaseComponent.vue @@ -32,7 +32,8 @@ -
+
diff --git a/frontend/src/business/components/api/definition/components/runtest/RunTestDubboPage.vue b/frontend/src/business/components/api/definition/components/runtest/RunTestDubboPage.vue index 8c1afee631..6baeab8b4a 100644 --- a/frontend/src/business/components/api/definition/components/runtest/RunTestDubboPage.vue +++ b/frontend/src/business/components/api/definition/components/runtest/RunTestDubboPage.vue @@ -7,7 +7,8 @@ + @command="handleCommand" size="small" style="float: right;margin-right: 20px" v-if="!runLoading" + v-permission="['PROJECT_API_DEFINITION:READ+EDIT_API']"> {{ $t('commons.test') }} {{ $t('api_test.definition.request.load_case') }} diff --git a/frontend/src/business/components/api/definition/components/runtest/RunTestHTTPPage.vue b/frontend/src/business/components/api/definition/components/runtest/RunTestHTTPPage.vue index fe5ff479fe..29b1383533 100644 --- a/frontend/src/business/components/api/definition/components/runtest/RunTestHTTPPage.vue +++ b/frontend/src/business/components/api/definition/components/runtest/RunTestHTTPPage.vue @@ -31,7 +31,8 @@ + @command="handleCommand" size="small" v-if="!runLoading" + v-permission="['PROJECT_API_DEFINITION:READ+EDIT_API']"> {{ $t('commons.test') }} {{ $t('api_test.definition.request.load_case') }} diff --git a/frontend/src/business/components/api/definition/components/runtest/RunTestSQLPage.vue b/frontend/src/business/components/api/definition/components/runtest/RunTestSQLPage.vue index 2a04c89448..f923ead31c 100644 --- a/frontend/src/business/components/api/definition/components/runtest/RunTestSQLPage.vue +++ b/frontend/src/business/components/api/definition/components/runtest/RunTestSQLPage.vue @@ -7,7 +7,8 @@ + @command="handleCommand" size="small" style="float: right;margin-right: 20px" v-if="!runLoading" + v-permission="['PROJECT_API_DEFINITION:READ+EDIT_API']"> {{ $t('commons.test') }} {{ $t('api_test.definition.request.load_case') }} diff --git a/frontend/src/business/components/api/definition/components/runtest/RunTestTCPPage.vue b/frontend/src/business/components/api/definition/components/runtest/RunTestTCPPage.vue index 5f8fd26c72..224a813915 100644 --- a/frontend/src/business/components/api/definition/components/runtest/RunTestTCPPage.vue +++ b/frontend/src/business/components/api/definition/components/runtest/RunTestTCPPage.vue @@ -10,7 +10,8 @@ + @command="handleCommand" size="small" style="float: right;margin-right: 20px" v-if="!runLoading" + v-permission="['PROJECT_API_DEFINITION:READ+EDIT_API']"> {{ $t('commons.test') }} {{ $t('api_test.definition.request.load_case') }}