diff --git a/frontend/src/business/components/track/case/components/BatchEdit.vue b/frontend/src/business/components/track/case/components/BatchEdit.vue index 12bfb34c06..0709023625 100644 --- a/frontend/src/business/components/track/case/components/BatchEdit.vue +++ b/frontend/src/business/components/track/case/components/BatchEdit.vue @@ -17,6 +17,7 @@ @@ -61,6 +62,7 @@ data() { return { dialogVisible: false, + showConfigButtonWithOutPermission:false, form: {}, size: 0, rules: { diff --git a/frontend/src/business/components/track/common/EnvPopover.vue b/frontend/src/business/components/track/common/EnvPopover.vue index 1e89bfa545..3b826df056 100644 --- a/frontend/src/business/components/track/common/EnvPopover.vue +++ b/frontend/src/business/components/track/common/EnvPopover.vue @@ -7,6 +7,7 @@ @show="showPopover" trigger="click"> {{ $t('api_test.definition.request.run_env') }} @@ -25,6 +26,12 @@ export default { envMap: Map, projectIds: Set, projectList: Array, + showConfigButtonWithOutPermission:{ + type: Boolean, + default() { + return true; + } + }, isReadOnly: { type: Boolean, default() { diff --git a/frontend/src/business/components/track/common/EnvSelect.vue b/frontend/src/business/components/track/common/EnvSelect.vue index d1172e0894..a8c7ba5d7e 100644 --- a/frontend/src/business/components/track/common/EnvSelect.vue +++ b/frontend/src/business/components/track/common/EnvSelect.vue @@ -5,11 +5,11 @@ - + {{ $t('api_test.environment.environment_config') }} @@ -92,6 +92,7 @@ data() { return { result: {}, + showConfigButtonWithOutPermission:false, condition: {}, currentScenario: {}, schedule: {},