diff --git a/frontend/src/business/components/api/definition/components/mock/Components/MockApiScriptEditor.vue b/frontend/src/business/components/api/definition/components/mock/Components/MockApiScriptEditor.vue index b51deb250a..591657d3cf 100644 --- a/frontend/src/business/components/api/definition/components/mock/Components/MockApiScriptEditor.vue +++ b/frontend/src/business/components/api/definition/components/mock/Components/MockApiScriptEditor.vue @@ -70,8 +70,10 @@ export default { } }, created() { - if (!this.jsr223Processor.scriptLanguage) { - this.jsr223Processor.scriptLanguage = "beanshell"; + if(this.jsr223Processor){ + if (!this.jsr223Processor.scriptLanguage) { + this.jsr223Processor.scriptLanguage = "beanshell"; + } } if (this.showApi) { this.baseCodeTemplates = this.httpCodeTemplates; diff --git a/frontend/src/business/components/api/definition/components/mock/Components/MockResponseParam.vue b/frontend/src/business/components/api/definition/components/mock/Components/MockResponseParam.vue index 457ee7fe5b..f5f91086f2 100644 --- a/frontend/src/business/components/api/definition/components/mock/Components/MockResponseParam.vue +++ b/frontend/src/business/components/api/definition/components/mock/Components/MockResponseParam.vue @@ -47,7 +47,7 @@
- +
diff --git a/frontend/src/business/components/common/components/MsDrawer.vue b/frontend/src/business/components/common/components/MsDrawer.vue index 74fd8047cb..0bd2a6ec3f 100644 --- a/frontend/src/business/components/common/components/MsDrawer.vue +++ b/frontend/src/business/components/common/components/MsDrawer.vue @@ -1,5 +1,6 @@