diff --git a/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue b/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue index ea97fc7114..9a68628940 100644 --- a/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue +++ b/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue @@ -486,6 +486,7 @@ export default { this.$store.state.scenarioMap.set(this.currentScenario.id, change); } }, + }, created() { if (!this.currentScenario.apiScenarioModuleId) { @@ -905,9 +906,9 @@ export default { fabClick() { if (this.operatingElements && this.operatingElements.length < 1) { if (this.selectedTreeNode && this.selectedTreeNode.referenced === 'REF' || this.selectedTreeNode.disabled) { - this.$warning("引用的场景步骤及子步骤都无法添加其他步骤"); + this.$warning(this.$t('api_test.scenario.scenario_warning')); } else { - this.$warning("当前步骤下不能添加其他步骤"); + this.$warning(this.$t('api_test.scenario.scenario_step_warning')); } } }, @@ -1005,7 +1006,7 @@ export default { if (arr && arr.length > 0) { arr.forEach(item => { if (item.id === this.currentScenario.id) { - this.$error("不能引用或复制自身!"); + this.$error(this.$t("api_test.scenario.scenario_error")); this.$refs.scenarioRelevance.changeButtonLoadingType(); return; } diff --git a/frontend/src/business/components/api/automation/scenario/common/Jsr233ProcessorContent.vue b/frontend/src/business/components/api/automation/scenario/common/Jsr233ProcessorContent.vue index 5e09ec245d..4c9076b2a1 100644 --- a/frontend/src/business/components/api/automation/scenario/common/Jsr233ProcessorContent.vue +++ b/frontend/src/business/components/api/automation/scenario/common/Jsr233ProcessorContent.vue @@ -235,6 +235,7 @@ .script-index { padding: 0 20px; + width: 230px; } .template-title { 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 5b526e7d05..10b96cb153 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 @@ -208,6 +208,7 @@ export default { .script-index { padding: 0 20px; + width: 230px; } .template-title { diff --git a/frontend/src/business/components/api/test/components/processor/Jsr233Processor.vue b/frontend/src/business/components/api/test/components/processor/Jsr233Processor.vue index fbc77e82d8..8304ff825e 100644 --- a/frontend/src/business/components/api/test/components/processor/Jsr233Processor.vue +++ b/frontend/src/business/components/api/test/components/processor/Jsr233Processor.vue @@ -130,6 +130,7 @@ export default { .script-index { padding: 0 20px; + width: 230px; } .template-title { diff --git a/frontend/src/business/components/project/home/ProjectHome.vue b/frontend/src/business/components/project/home/ProjectHome.vue index d7d0eba569..6533eb005a 100644 --- a/frontend/src/business/components/project/home/ProjectHome.vue +++ b/frontend/src/business/components/project/home/ProjectHome.vue @@ -133,7 +133,7 @@ - + @@ -157,7 +157,8 @@ export default { createUser: '' }, memberSize: 0, - result: {} + result: {}, + isShowApp: false } }, methods: { diff --git a/frontend/src/business/components/project/menu/EditProject.vue b/frontend/src/business/components/project/menu/EditProject.vue index 94afeaf5a9..7e672c8200 100644 --- a/frontend/src/business/components/project/menu/EditProject.vue +++ b/frontend/src/business/components/project/menu/EditProject.vue @@ -7,7 +7,8 @@ - + @@ -18,16 +19,19 @@ - + - - + + - + @@ -63,6 +67,18 @@ + + + + + + + + +