diff --git a/nezha-fronted/src/components/common/rightBox/moduleBox.vue b/nezha-fronted/src/components/common/rightBox/moduleBox.vue index 7f58afa81..eb78f6746 100644 --- a/nezha-fronted/src/components/common/rightBox/moduleBox.vue +++ b/nezha-fronted/src/components/common/rightBox/moduleBox.vue @@ -170,7 +170,7 @@ - + @@ -209,7 +209,7 @@ - + @@ -446,6 +446,9 @@ if(type == 'http'){ this.editModule.port = 9100 }else{ + this.$nextTick(()=>{ + this.$refs.selectWalk.show(); + }) this.editModule.port= 161 } this.updateScrollbar(); @@ -634,6 +637,7 @@ this.reparseSnmpParam(this.editModule) }else{ if(n.type&&n.type.toLowerCase() == 'snmp'){ + this.$refs.selectWalk.show(); for (let i = 0; i < this.editModule.walk.length; i++) { this.expandedWalkData.push(this.editModule.walk[i].substring(0, this.editModule.walk[i].lastIndexOf("."))); }