diff --git a/frontend/src/business/components/api/definition/components/step/addStepContainer.vue b/frontend/src/business/components/api/definition/components/step/addStepContainer.vue index ca54ade2e2..d2cc6a6bd0 100644 --- a/frontend/src/business/components/api/definition/components/step/addStepContainer.vue +++ b/frontend/src/business/components/api/definition/components/step/addStepContainer.vue @@ -74,7 +74,9 @@ export default { } }, operateSubModel() { - this.$emit('update:operate', this.operateSubModel); + if (this.operateSubModel) { + this.$emit('update:operate', this.operateSubModel); + } } }, methods: {