diff --git a/nezha-fronted/src/components/common/js/constants.js b/nezha-fronted/src/components/common/js/constants.js index 09b776824..7538d06fc 100644 --- a/nezha-fronted/src/components/common/js/constants.js +++ b/nezha-fronted/src/components/common/js/constants.js @@ -147,8 +147,8 @@ export const asset = { telnet: 2 }, authTypeOptions: [ - { value: 1, label: 'Username' }, - { value: 2, label: 'Key' } + { value: 1, label: i18n.t('asset.password') }, + { value: 2, label: i18n.t('asset.publicKey') } ], authTypeData: { username: 1, diff --git a/nezha-fronted/src/components/common/rightBox/asset/assetBatchEditBox.vue b/nezha-fronted/src/components/common/rightBox/asset/assetBatchEditBox.vue index 5db62643e..217885eae 100644 --- a/nezha-fronted/src/components/common/rightBox/asset/assetBatchEditBox.vue +++ b/nezha-fronted/src/components/common/rightBox/asset/assetBatchEditBox.vue @@ -31,7 +31,7 @@ - +