diff --git a/frontend/src/components/business/ms-assertion/index.vue b/frontend/src/components/business/ms-assertion/index.vue index fc0256343f..6011019d09 100644 --- a/frontend/src/components/business/ms-assertion/index.vue +++ b/frontend/src/components/business/ms-assertion/index.vue @@ -343,13 +343,13 @@ enableCommonScript: false, script: '', scriptId: '', - scriptLanguage: LanguageEnum.BEANSHELL, + scriptLanguage: LanguageEnum.BEANSHELL_JSR233, commonScriptInfo: { id: '', name: '', script: '', params: [{}], - scriptLanguage: LanguageEnum.BEANSHELL, + scriptLanguage: LanguageEnum.BEANSHELL_JSR233, }, }); break; diff --git a/frontend/src/views/api-test/components/condition/content.vue b/frontend/src/views/api-test/components/condition/content.vue index da8a1523f0..a83af31a7a 100644 --- a/frontend/src/views/api-test/components/condition/content.vue +++ b/frontend/src/views/api-test/components/condition/content.vue @@ -112,7 +112,7 @@ v-model:model-value="scriptEx" class="flex-1" theme="vs" - :language="LanguageEnum.BEANSHELL" + :language="LanguageEnum.BEANSHELL_JSR233" width="500px" height="388px" :show-full-screen="false" @@ -215,7 +215,7 @@ v-model:model-value="condition.commonScriptInfo.script" theme="vs" height="100%" - :language="condition.commonScriptInfo.scriptLanguage || LanguageEnum.BEANSHELL" + :language="condition.commonScriptInfo.scriptLanguage || LanguageEnum.BEANSHELL_JSR233" :show-full-screen="false" :show-theme-change="false" read-only diff --git a/frontend/src/views/api-test/components/condition/index.vue b/frontend/src/views/api-test/components/condition/index.vue index b1ce73dd16..51f7add901 100644 --- a/frontend/src/views/api-test/components/condition/index.vue +++ b/frontend/src/views/api-test/components/condition/index.vue @@ -145,13 +145,13 @@ enable: true, script: '', scriptId: '', - scriptLanguage: LanguageEnum.BEANSHELL, + scriptLanguage: LanguageEnum.BEANSHELL_JSR233, commonScriptInfo: { id: '', name: '', script: '', params: [], - scriptLanguage: LanguageEnum.BEANSHELL, + scriptLanguage: LanguageEnum.BEANSHELL_JSR233, }, }); diff --git a/frontend/src/views/api-test/scenario/components/common/scriptOperationDrawer.vue b/frontend/src/views/api-test/scenario/components/common/scriptOperationDrawer.vue index 32b7025d6e..8f3eb66527 100644 --- a/frontend/src/views/api-test/scenario/components/common/scriptOperationDrawer.vue +++ b/frontend/src/views/api-test/scenario/components/common/scriptOperationDrawer.vue @@ -54,7 +54,7 @@ processorType: RequestConditionProcessor.SCRIPT, enableCommonScript: false, script: '', - scriptLanguage: LanguageEnum.BEANSHELL, + scriptLanguage: LanguageEnum.BEANSHELL_JSR233, commonScriptInfo: {}, } as ExecuteConditionProcessor; const scriptName = ref(props.name || ''); @@ -74,7 +74,7 @@ processorType: RequestConditionProcessor.SCRIPT, enableCommonScript: false, script: '', - scriptLanguage: LanguageEnum.BEANSHELL, + scriptLanguage: LanguageEnum.BEANSHELL_JSR233, commonScriptInfo: {}, } as ExecuteConditionProcessor; } diff --git a/frontend/src/views/project-management/commonScript/components/scriptDetailDrawer.vue b/frontend/src/views/project-management/commonScript/components/scriptDetailDrawer.vue index 3d83a1a27b..d970daeec7 100644 --- a/frontend/src/views/project-management/commonScript/components/scriptDetailDrawer.vue +++ b/frontend/src/views/project-management/commonScript/components/scriptDetailDrawer.vue @@ -224,7 +224,7 @@ projectId: '', params: '', script: '', - type: LanguageEnum.BEANSHELL, + type: LanguageEnum.BEANSHELL_JSR233, result: '', };