diff --git a/frontend/src/business/components/api/automation/scenario/component/PluginComponent.vue b/frontend/src/business/components/api/automation/scenario/component/PluginComponent.vue index a3d5ab152c..ddcac89f03 100644 --- a/frontend/src/business/components/api/automation/scenario/component/PluginComponent.vue +++ b/frontend/src/business/components/api/automation/scenario/component/PluginComponent.vue @@ -199,6 +199,9 @@ export default { data: { handler: function () { Object.assign(this.request, this.data); + if (this.request.condition) { + this.changeDisplay(this.request.condition); + } }, deep: true } @@ -348,9 +351,6 @@ export default { if (this.request && this.request.active && this.pluginForm && this.pluginForm.setValue instanceof Function) { this.pluginForm.setValue(this.request); } - if (this.request.condition) { - this.changeDisplay(this.request.condition); - } }, } }