From dd684bfe93a3c78ff79f05b822993b641b8a7924 Mon Sep 17 00:00:00 2001 From: wangwenrui Date: Thu, 3 Sep 2020 18:34:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8Dmodule=20=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E4=BE=A7=E6=BB=91walk=E4=B8=8D=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/common/rightBox/moduleBox.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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("."))); }