diff --git a/src/components/CardItem.vue b/src/components/CardItem.vue index 243c6d5..aa46a0b 100644 --- a/src/components/CardItem.vue +++ b/src/components/CardItem.vue @@ -5,7 +5,7 @@ - {{ server.name }} + {{ server.alias }}

{{ server.type }}

diff --git a/src/components/ServersTable.vue b/src/components/ServersTable.vue index 34b7622..b4d1ead 100644 --- a/src/components/ServersTable.vue +++ b/src/components/ServersTable.vue @@ -3,7 +3,7 @@ 运行状态 - 节点名 + 节点名 类型 服务器位置 在线时间 diff --git a/src/components/TableItem.vue b/src/components/TableItem.vue index 54f62df..2d8d2b9 100644 --- a/src/components/TableItem.vue +++ b/src/components/TableItem.vue @@ -6,7 +6,7 @@
- {{ server.name }} + {{ server.alias }} {{ server.type }} {{ server.location }} {{ server.uptime || '–' }} diff --git a/types/servers.d.ts b/types/servers.d.ts index 495fad3..badae07 100644 --- a/types/servers.d.ts +++ b/types/servers.d.ts @@ -1,13 +1,12 @@ /* eslint-disable */ declare global { interface BoxItem { - 'name': string; + 'alias': string; 'host': string; 'type': string; 'online4': boolean; 'online6': boolean; 'location': string; - 'region': string; } interface StatusItem extends BoxItem { @@ -32,7 +31,7 @@ declare global { subHeader: string; interval: number; footer: string; - } + } } export {};