diff --git a/src/i18n/Gateway.js b/src/i18n/Gateway.js index 4a55ee0b5..dcca387be 100644 --- a/src/i18n/Gateway.js +++ b/src/i18n/Gateway.js @@ -300,4 +300,8 @@ export default { zh: '缺少 gRPC 监听的 Cert 或 Key 内容', en: 'Missing Cert or Key content for gRPC ConnectionAdapter', }, + setup: { + zh: '配置', + en: 'Setup', + }, } diff --git a/src/types/enum.ts b/src/types/enum.ts index 7d8a68f38..bade5abdf 100644 --- a/src/types/enum.ts +++ b/src/types/enum.ts @@ -179,3 +179,9 @@ export enum SaltPosition { Prefix = 'prefix', Suffix = 'suffix', } + +export enum GatewayStatus { + Running = 'running', + Stopped = 'stopped', + Unloaded = 'unloaded', +} diff --git a/src/views/Gateway/Gateway.vue b/src/views/Gateway/Gateway.vue index c35afe1b2..b52d5c818 100644 --- a/src/views/Gateway/Gateway.vue +++ b/src/views/Gateway/Gateway.vue @@ -1,57 +1,69 @@