diff --git a/src/i18n/langs/cn.json b/src/i18n/langs/cn.json index 7c392b57f..c7bb59a33 100644 --- a/src/i18n/langs/cn.json +++ b/src/i18n/langs/cn.json @@ -44,6 +44,9 @@ "AssetDetail": "资产详情", "AssetList": "资产列表", "AssetListHelpMessage": "左侧是资产树,右击可以新建、删除、更改树节点,授权资产也是以节点方式组织的,右侧是属于该节点下的资产\n", + "TestGatewayTestConnection":"测试连接网关", + "TestGatewayHelpMessage": "如果使用了nat端口映射,请设置为ssh真实监听的端口", + "SshPort": "SSH 端口", "AssetNumber": "资产编号", "AssetUserList": "资产用户列表", "Assets": "资产", diff --git a/src/i18n/langs/en.json b/src/i18n/langs/en.json index b26d84d92..8614adb40 100644 --- a/src/i18n/langs/en.json +++ b/src/i18n/langs/en.json @@ -46,6 +46,9 @@ "AssetListHelpMessage": "The left side is the asset tree, right click to create, delete, and change the tree node, authorization asset is also organized as a node, and the right side is the asset under that node\n", "AssetNumber": "Asset number", "AssetUserList": "Asset user list", + "TestGatewayTestConnection":"Test gateway test connection", + "TestGatewayHelpMessage": "If use nat, set the ssh real port", + "SshPort": "SSH Port", "Assets": "Assets", "Auth": "Auth", "AutoGenerateKey": "Auto generate ssh key", diff --git a/src/views/assets/Domain/DomainDetail/GatewayList.vue b/src/views/assets/Domain/DomainDetail/GatewayList.vue index 43b05decc..19cafa79e 100644 --- a/src/views/assets/Domain/DomainDetail/GatewayList.vue +++ b/src/views/assets/Domain/DomainDetail/GatewayList.vue @@ -1,13 +1,41 @@