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 25dfb16ac3..276df32d0b 100644 --- a/frontend/src/business/components/api/automation/scenario/component/PluginComponent.vue +++ b/frontend/src/business/components/api/automation/scenario/component/PluginComponent.vue @@ -25,6 +25,7 @@ :value.sync="data" @prefix-change="change" @prefix-click="change" + @display-change="changeDisplay" @prefix-visible-change="visibleChange" /> @@ -205,7 +206,14 @@ export default { methods: { blur(d) { }, - change(d) { + change(fileName) { + }, + changeDisplay(fileName) { + if (fileName === 'number of received messages') { + this.pluginForm.hidden(true, "conditionTime"); + } else { + this.pluginForm.hidden(false, "conditionTime"); + } }, run() { if (this.isApiImport || this.request.isRefEnvironment) {