diff --git a/backend/services/project-management/src/main/java/io/metersphere/project/api/processor/extract/MsExtract.java b/backend/services/project-management/src/main/java/io/metersphere/project/api/processor/extract/MsExtract.java index 35274c1811..2a78589eaf 100644 --- a/backend/services/project-management/src/main/java/io/metersphere/project/api/processor/extract/MsExtract.java +++ b/backend/services/project-management/src/main/java/io/metersphere/project/api/processor/extract/MsExtract.java @@ -60,9 +60,9 @@ public abstract class MsExtract { * 环境参数 */ ENVIRONMENT, - /** - * 全局参数 - */ - GLOBAL; +// /** +// * 全局参数 暂时不上 +// */ +// GLOBAL; } } diff --git a/frontend/src/enums/apiEnum.ts b/frontend/src/enums/apiEnum.ts index 7c1918917d..d39e38a6ca 100644 --- a/frontend/src/enums/apiEnum.ts +++ b/frontend/src/enums/apiEnum.ts @@ -183,7 +183,7 @@ export enum RequestConditionScriptLanguage { // 接口请求-参数提取-环境类型 export enum RequestExtractEnvType { ENVIRONMENT = 'ENVIRONMENT', // 环境参数 - GLOBAL = 'GLOBAL', // 全局参数 + // GLOBAL = 'GLOBAL', // 全局参数,暂时不上 TEMPORARY = 'TEMPORARY', // 临时参数 } // 接口请求-参数提取-表达式类型 diff --git a/frontend/src/views/api-test/components/condition/content.vue b/frontend/src/views/api-test/components/condition/content.vue index 389887ef7f..4c627c410d 100644 --- a/frontend/src/views/api-test/components/condition/content.vue +++ b/frontend/src/views/api-test/components/condition/content.vue @@ -672,10 +672,11 @@ if (!result){ dataIndex: 'variableType', slotName: 'variableType', typeOptions: [ - { - label: t('apiTestDebug.globalParameter'), - value: RequestExtractEnvType.GLOBAL, - }, + // 全局参数,暂时不上 + // { + // label: t('apiTestDebug.globalParameter'), + // value: RequestExtractEnvType.GLOBAL, + // }, { label: t('apiTestDebug.envParameter'), value: RequestExtractEnvType.ENVIRONMENT,