From c893e1dc464bb6eb880566b55ba1e38966780527 Mon Sep 17 00:00:00 2001 From: songshankun <songshankun@foxmail.com> Date: 星期二, 07 十一月 2023 10:26:27 +0800 Subject: [PATCH] feat: 展示设备id改为展示设备名,云端设备编码添加超出截断 --- src/api/device.ts | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/api/device.ts b/src/api/device.ts index 6023675..f102b7b 100644 --- a/src/api/device.ts +++ b/src/api/device.ts @@ -1,4 +1,10 @@ +export interface DeviceMap { + deviceID: string + deviceName: string +} + export interface Devices { + /** 鏈満璁惧缂栫爜 */ systemDeviceID: string currentDeviceID: string systemDeviceStatus: number @@ -6,5 +12,5 @@ clusterStatus: 'master' | 'slave' | '' clusterNodeQuantity: number systemDeviceRunSince: number - deviceIDList: string[] + deviceList: DeviceMap[] } -- Gitblit v1.8.0