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: [