From 6f1c074a4c7c6410979c3f5c119c6832e30ab075 Mon Sep 17 00:00:00 2001 From: wangwenrui Date: Tue, 25 Aug 2020 17:53:01 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8Dsnmp=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E7=9A=84module=E6=97=A0=E6=B3=95=E5=9B=9E=E6=98=BE=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/common/rightBox/moduleBox.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nezha-fronted/src/components/common/rightBox/moduleBox.vue b/nezha-fronted/src/components/common/rightBox/moduleBox.vue index ea7a7985d..c3f62575e 100644 --- a/nezha-fronted/src/components/common/rightBox/moduleBox.vue +++ b/nezha-fronted/src/components/common/rightBox/moduleBox.vue @@ -618,6 +618,7 @@ immediate: true, deep: true, handler(n, o) { + console.log('post module',n) this.editModule = JSON.parse(JSON.stringify(n)); } }, @@ -636,6 +637,8 @@ } } else if (!n.id && n.type && n.type.toLowerCase() == 'http') { n.port = 9100; + }else{ + this.reparseSnmpParam(n) } if (!n.type) { n.type = 'http';