diff --git a/nezha-fronted/src/components/common/js/constants.js b/nezha-fronted/src/components/common/js/constants.js index 61129123a..6c20e9f89 100644 --- a/nezha-fronted/src/components/common/js/constants.js +++ b/nezha-fronted/src/components/common/js/constants.js @@ -107,11 +107,11 @@ export const agent2 = { protocol: [ { label: 'http', - value: 1 + value: 'http' }, { label: 'https', - value: 2 + value: 'https' } ] diff --git a/nezha-fronted/src/components/common/table/settings/agentTable.vue b/nezha-fronted/src/components/common/table/settings/agentTable.vue index 79e201edb..7479e9346 100644 --- a/nezha-fronted/src/components/common/table/settings/agentTable.vue +++ b/nezha-fronted/src/components/common/table/settings/agentTable.vue @@ -47,10 +47,6 @@ - - http - https - {{scope.row[item.prop]}}