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';