From a2a0565bfefe750f48ba2ea727860c0446e42a3d Mon Sep 17 00:00:00 2001 From: "@changcode" Date: Mon, 18 Oct 2021 17:06:08 +0800 Subject: [PATCH] =?UTF-8?q?NEZ-1064=20fix:=20module=20&=20endpoint=20proto?= =?UTF-8?q?col=E5=AD=97=E6=AE=B5=20http,https=20=E5=8F=AF=E4=BB=A5?= =?UTF-8?q?=E7=9B=B8=E4=BA=92=E5=88=87=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common/rightBox/editEndpointBoxNew.vue | 19 +++++++++++-------- .../components/common/rightBox/moduleBox.vue | 19 +++++++++++-------- 2 files changed, 22 insertions(+), 16 deletions(-) diff --git a/nezha-fronted/src/components/common/rightBox/editEndpointBoxNew.vue b/nezha-fronted/src/components/common/rightBox/editEndpointBoxNew.vue index b3110938f..fe47f5b78 100644 --- a/nezha-fronted/src/components/common/rightBox/editEndpointBoxNew.vue +++ b/nezha-fronted/src/components/common/rightBox/editEndpointBoxNew.vue @@ -112,8 +112,8 @@ - - + + @@ -680,15 +680,18 @@ export default { typeList: [ { value: 'http', - name: 'HTTP' - }, - { - value: 'snmp', - name: 'SNMP' + name: 'HTTP', + disabled: false }, { value: 'https', - name: 'HTTPS' + name: 'HTTPS', + disabled: false + }, + { + value: 'snmp', + name: 'SNMP', + disabled: true } ], logsBasicList: [ diff --git a/nezha-fronted/src/components/common/rightBox/moduleBox.vue b/nezha-fronted/src/components/common/rightBox/moduleBox.vue index 34ebacf1c..2249ae294 100644 --- a/nezha-fronted/src/components/common/rightBox/moduleBox.vue +++ b/nezha-fronted/src/components/common/rightBox/moduleBox.vue @@ -93,8 +93,8 @@ - - + + @@ -653,15 +653,18 @@ export default { typeList: [ { value: 'http', - name: 'HTTP' - }, - { - value: 'snmp', - name: 'SNMP' + name: 'HTTP', + disabled: false }, { value: 'https', - name: 'HTTPS' + name: 'HTTPS', + disabled: false + }, + { + value: 'snmp', + name: 'SNMP', + disabled: true } ], logsBasicList: [